Package ch.njol.util
Class Pair<T1,T2>
java.lang.Object
ch.njol.util.Pair<T1,T2>
- All Implemented Interfaces:
Serializable
,Cloneable
,Map.Entry<T1,T2>
- Direct Known Subclasses:
NonNullPair
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
first
-
second
-
-
Constructor Details
-
Pair
public Pair() -
Pair
-
Pair
-
-
Method Details
-
getFirst
-
setFirst
-
getSecond
-
setSecond
-
toString
-
equals
Checks for equality with Entries to matchhashCode()
-
hashCode
public final int hashCode()As defined byMap.Entry.hashCode()
-
getKey
-
getValue
-
setValue
-
clone
-