|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.frag.umlplugin.classcloud.CellCoordinate
public class CellCoordinate
Simple coordinate pair in an ordered cell grid.
Constructor Summary | |
---|---|
CellCoordinate(int x,
int y)
Creates a new coordinate. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getX()
Gets x-coordinate. |
int |
getY()
Gets y-coordinate. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CellCoordinate(int x, int y)
x
- x-coordinate (0..n from left to right)y
- y-coordinate (0..n from top to bottom)Method Detail |
---|
public int getX()
public int getY()
@NotNull public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(@Nullable java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |