edu.jhu.tmaj.util.data
Class Position

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

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

A pair where both x and y are greater than 0

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.util.data.Pair
x, y
 
Constructor Summary
Position(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

Position

public Position(int x,
                int y)