public class Pair<A,B> extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static <K2,V2,K1 extends K2,V1 extends 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) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.