public final class Size
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Size |
NULL_SIZE
NULL_SIZE can be encode special conditions e.g.
|
Constructor and Description |
---|
Size(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getHeight() |
int |
getWidth() |
int |
hashCode() |
java.lang.String |
toString() |
public static final Size NULL_SIZE
public int getWidth()
public int getHeight()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object