public interface Tuple<A,B>
| Modifier and Type | Method and Description |
|---|---|
A |
getA() |
B |
getB() |
default A |
getLeft() |
default B |
getRight() |
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()
B getB()
default A getLeft()
default B getRight()