public interface Tuple<A,B>
| Modifier and Type | Method and Description |
|---|---|
A |
getA() |
B |
getB() |
default A |
getFirst() |
default A |
getLeft() |
default B |
getRight() |
default B |
getSecond() |
static <A,B> ImmutableTuple<A,B> |
immutable(A a,
B b) |
static <A,B> MutableTuple<A,B> |
mutable(A a,
B b) |
static <A,B> MutableTuple<A,B> mutable(A a, B b)
static <A,B> ImmutableTuple<A,B> immutable(A a, B b)
A getA()
default A getLeft()
default A getFirst()
B getB()
default B getRight()
default B getSecond()