org.jcheck.util
Class Pair<T1,T2>

java.lang.Object
  extended by org.jcheck.util.Pair<T1,T2>

public final class Pair<T1,T2>
extends java.lang.Object


Constructor Summary
Pair(T1 first, T2 second)
          Creates a new instance of Pair
 
Method Summary
 T1 fst()
           
static
<T1,T2> Pair<T1,T2>
make(T1 first, T2 second)
           
 T2 snd()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair(T1 first,
            T2 second)
Creates a new instance of Pair

Method Detail

fst

public T1 fst()

snd

public T2 snd()

make

public static <T1,T2> Pair<T1,T2> make(T1 first,
                                       T2 second)