static <L,R> MutablePair<L,R>[] |
MutablePair.emptyArray() |
Returns the empty array singleton that can be assigned without compiler warning.
|
static <L,R> MutablePair<L,R> |
MutablePair.of(java.util.Map.Entry<L,R> pair) |
Creates a mutable pair from a map entry.
|
static <L,R> MutablePair<L,R> |
MutablePair.of(L left,
R right) |
Creates a mutable pair of two objects inferring the generic types.
|
static <L,R> MutablePair<L,R> |
MutablePair.ofNonNull(L left,
R right) |
Creates a mutable pair of two non-null objects inferring the generic types.
|