com.partnersoft.v3x.geometry.single
Class GridCoordinate

java.lang.Object
  extended by com.partnersoft.v3x.geometry.single.GridCoordinate

public class GridCoordinate
extends java.lang.Object

An integer coordinate for a grid cell. Really just an x, y tuple.


Field Summary
 int x
           
 int y
           
 
Constructor Summary
GridCoordinate()
           
GridCoordinate(int x, int y)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object nother)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x

y

public int y
Constructor Detail

GridCoordinate

public GridCoordinate()

GridCoordinate

public GridCoordinate(int x,
                      int y)
Method Detail

equals

public boolean equals(java.lang.Object nother)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object