fr.umlv.tatoo.cc.common.util
Class Pair<E,F>

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.util.Pair<E,F>

public class Pair<E,F>
extends Object


Constructor Summary
Pair(E first, F second)
           
 
Method Summary
 boolean equals(Object obj)
           
 E getFirst()
           
 F getSecond()
           
 int hashCode()
           
static
<E,F> Pair<E,F>
pair(E first, F second)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair(E first,
            F second)
Method Detail

pair

public static <E,F> Pair<E,F> pair(E first,
                                   F second)

getFirst

public E getFirst()

getSecond

public F getSecond()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object