java.lang.ObjectCoordinate
public class Coordinate
Constructor Summary | |
---|---|
Coordinate(int theRow,
int theCol)
Generates a two-dimensional coordinate |
Method Summary | |
---|---|
int |
getCol()
Returns the coordinate's column value |
int |
getRow()
Returns the coordinate's row value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Coordinate(int theRow, int theCol)
theRow
- The coordinate's rowtheCol
- the coordinate's columnMethod Detail |
---|
public int getRow()
public int getCol()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |