public final class MISize
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
float |
height
The height
|
float |
width
The width
|
| Constructor and Description |
|---|
MISize()
A default constructor
|
MISize(float width,
float height)
Constructs the
MISize object given the width and height |
MISize(MISize other)
Creates a copy of the
MISize object |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" the
MISize object |
int |
hashCode()
Returns a hash code value for the object.
|
public MISize()
public MISize(MISize other)
MISize objectother - - the MISize objectpublic MISize(float width,
float height)
MISize object given the width and heightwidth - - a float value of widthheight - - a float value of heightpublic boolean equals(java.lang.Object object)
MISize objectequals in class java.lang.Objectobject - - the reference object with which to comparetrue if this object is the same as the object argument; false otherwise.public int hashCode()
hashCode in class java.lang.Object