Package org.apache.accumulo.core.util
Class Pair<A,B>
- java.lang.Object
-
- org.apache.accumulo.core.util.Pair<A,B>
-
- Direct Known Subclasses:
ComparablePair
,IteratorSetting.Column
public class Pair<A,B> extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static <K2,V2,K1 extends K2,V1 extends V2>
Pair<K2,V2>fromEntry(Map.Entry<K1,V1> entry)
A
getFirst()
B
getSecond()
int
hashCode()
Pair<B,A>
swap()
Map.Entry<A,B>
toMapEntry()
String
toString()
String
toString(String prefix, String separator, String suffix)
-