|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uwcse.sim.SmartFish.CellData
This class is used to represent data about neighboring cells.
Field Summary | |
(package private) int |
count
Represent the relative location of the cell, and its contents. |
(package private) int |
dx
Represent the relative location of the cell, and its contents. |
(package private) int |
dy
Represent the relative location of the cell, and its contents. |
Constructor Summary | |
(package private) |
SmartFish.CellData(int dx,
int dy,
int count)
Create a new data item. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare this cell to another cell. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
|
Field Detail |
int dx
int dy
int count
Constructor Detail |
SmartFish.CellData(int dx, int dy, int count)
Method Detail |
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |