|
NextApp Echo 1.0.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.Dimension
An immutable representation of a two-dimensional size (width and height).
Field Summary | |
private int |
height
|
private int |
width
|
Constructor Summary | |
Dimension(int width,
int height)
Creates a new dimension of the given width and height. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Returns true if this coordinate is equivalent to the provided object. |
int |
getHeight()
Returns the height of this dimension. |
int |
getWidth()
Returns the width of this dimension. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int width
private int height
Constructor Detail |
public Dimension(int width, int height)
width
- The width of the dimension.height
- The height of the dimension.Method Detail |
public boolean equals(java.lang.Object o)
o
- The object to test this dimension for equality with.
public int getHeight()
public int getWidth()
|
NextApp Echo 1.0.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |