Package org.apache.hadoop.hbase.util
Class PairOfSameType<T>
java.lang.Object
org.apache.hadoop.hbase.util.PairOfSameType<T>
- All Implemented Interfaces:
Iterable<T>
A generic, immutable class for pairs of objects both of type
T
.- See Also:
-
Field Details
-
first
-
second
-
-
Constructor Details
-
PairOfSameType
Constructor- Parameters:
a
- operandb
- operand
-
-
Method Details
-
getFirst
Return the first element stored in the pair. -
getSecond
Return the second element stored in the pair. -
equals
-
equals
-
hashCode
-
toString
-
iterator
-