edu.jhu.tmaj.util.data
Class Coordinate

java.lang.Object
  extended by edu.jhu.tmaj.util.data.Pair
      extended by edu.jhu.tmaj.util.data.Coordinate
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class Coordinate
extends Pair
implements java.io.Serializable

Represents a position on an Array, where both x and y are greater than zero.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.util.data.Pair
x, y
 
Constructor Summary
Coordinate(int x, int y)
           
 
Method Summary
 
Methods inherited from class edu.jhu.tmaj.util.data.Pair
compareTo, equals, getX, getY, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Coordinate

public Coordinate(int x,
                  int y)