net.praqma.util.structure
Class Tuple<T1,T2>

java.lang.Object
  extended by net.praqma.util.structure.Tuple<T1,T2>
All Implemented Interfaces:
Serializable

public class Tuple<T1,T2>
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
 T1 t1
           
 T2 t2
           
 
Constructor Summary
Tuple()
           
Tuple(T1 t1, T2 t2)
           
 
Method Summary
 T1 getFirst()
           
 T2 getSecond()
           
 void setFirst(T1 t1)
           
 void setSecond(T2 t2)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

t1

public T1 t1

t2

public T2 t2
Constructor Detail

Tuple

public Tuple(T1 t1,
             T2 t2)

Tuple

public Tuple()
Method Detail

getFirst

public T1 getFirst()

getSecond

public T2 getSecond()

setFirst

public void setFirst(T1 t1)

setSecond

public void setSecond(T2 t2)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.