Class Pair<K,V>
java.lang.Object
com.amilesend.client.util.Pair<K,V>
- Type Parameters:
K- the key or leftV- the value or right
- All Implemented Interfaces:
Map.Entry<K,V>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Pair
-
-
Method Details
-
of
Creates a newPairfor the given left and right objects.- Type Parameters:
K- the left object class typeV- the right object class type- Parameters:
left- the left objectright- the right object- Returns:
- the tuple
-
getKey
-
getValue
-
setValue
-
getLeft
The left reference. -
getRight
the right reference. -
equals
-
hashCode
-
toString
-