public class GridCell
extends java.lang.Object
implements java.lang.Comparable
Constructor and Description |
---|
GridCell(int iX,
int iY,
double dValue) |
public double getValue()
public void setValue(double dValue)
public int getX()
public void setX(int iX)
public int getY()
public void setY(int iY)
public int compareTo(java.lang.Object cell) throws java.lang.ClassCastException
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object