Constructor and Description |
---|
Pair(L left,
R right)
Initialise a pair with the given two values.
|
Modifier and Type | Method and Description |
---|---|
L |
get0() |
R |
get1() |
L |
getLeft() |
R |
getRight() |
<I> Pair<I,R> |
mapHead(java.util.function.Function<? super L,? extends I> headMap)
Map the value of the head entry.
|
public L get0()
public L getLeft()
public R get1()
public R getRight()