martin.common
Class Pair<E>

java.lang.Object
  extended by martin.common.Pair<E>

public class Pair<E>
extends java.lang.Object


Field Summary
private  E x
           
private  E y
           
 
Constructor Summary
Pair(E x, E y)
           
 
Method Summary
 E getX()
           
 E getY()
           
 void setX(E x)
           
 void setY(E y)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

private E x

y

private E y
Constructor Detail

Pair

public Pair(E x,
            E y)
Method Detail

getX

public E getX()

getY

public E getY()

setX

public void setX(E x)

setY

public void setY(E y)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object