martin.common
Class Tuple<E,T>

java.lang.Object
  extended by martin.common.Tuple<E,T>

public class Tuple<E,T>
extends java.lang.Object


Field Summary
private  E a
           
private  T b
           
 
Constructor Summary
Tuple(E a, T b)
           
 
Method Summary
 E getA()
           
 T getB()
           
 void setA(E a)
           
 void setB(T b)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

a

private E a

b

private T b
Constructor Detail

Tuple

public Tuple(E a,
             T b)
Method Detail

getA

public E getA()
Returns:
the a

setA

public void setA(E a)
Parameters:
a - the a to set

getB

public T getB()
Returns:
the b

setB

public void setB(T b)
Parameters:
b - the b to set

toString

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