Package org.hibernate.envers.tools
Class Pair<T1,T2>
- java.lang.Object
-
- org.hibernate.envers.tools.Pair<T1,T2>
-
- Type Parameters:
T1-T2-
public class Pair<T1,T2> extends java.lang.ObjectA pair of objects.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)T1getFirst()T2getSecond()inthashCode()static <T1,T2>
Pair<T1,T2>make(T1 obj1, T2 obj2)
-
-
-
Method Detail
-
getFirst
public T1 getFirst()
-
getSecond
public T2 getSecond()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
make
public static <T1,T2> Pair<T1,T2> make(T1 obj1, T2 obj2)
-
-