widthheight| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(final DimensionImmutable
the object to be compared. d)Redeclares java. Compares square of size. |
| public boolean | |
| public int | |
| public int | |
| public int |
| compareTo | back to summary |
|---|---|
| public int compareTo(final DimensionImmutable d) Redeclares java. Doc from java. Compares square of size. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Checks whether two dimensions objects are equal. Two instances
of
| |
| getHeight | back to summary |
|---|---|
| public int getHeight() | |
| getWidth | back to summary |
|---|---|
| public int getWidth() | |
| hashCode | back to summary |
|---|---|
public int hashCode()
| |