Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
private |
PairAdapter() |
Modifier and Type | Method and Description |
---|---|
L |
getLeft()
Gets the left element from this pair.
|
R |
getRight()
Gets the right element from this pair.
|
R |
setValue(R value) |
compareTo, emptyArray, equals, getKey, getValue, hashCode, of, of, toString, toString
private static final long serialVersionUID
public L getLeft()
Pair
Gets the left element from this pair.
When treated as a key-value pair, this is the key.
public R getRight()
Pair
Gets the right element from this pair.
When treated as a key-value pair, this is the value.