public class Pair<U,V> extends Object implements Comparable<Pair<U,V>>, Map.Entry<U,V>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Pair<U,V> o) |
boolean |
equals(Object obj) |
U |
getFirst() |
U |
getKey() |
V |
getSecond() |
V |
getValue() |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
isFull() |
void |
setFirst(U first) |
void |
setSecond(V second) |
V |
setValue(V value) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue
Copyright © 2009-2020. All Rights Reserved.