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.Object
A pair of objects.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
T1
getFirst()
T2
getSecond()
int
hashCode()
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
make
public static <T1,T2> Pair<T1,T2> make(T1 obj1, T2 obj2)
-
-