Uses of Class
org.apache.commons.lang3.tuple.ImmutablePair
Package
Description
Tuple classes, starting with a Pair class in version 3.0.
-
Uses of ImmutablePair in org.apache.commons.lang3.tuple
Modifier and TypeFieldDescriptionstatic final ImmutablePair<?,
?>[] ImmutablePair.EMPTY_ARRAY
An empty array.Modifier and TypeMethodDescriptionstatic <L,
R> ImmutablePair<L, R>[] ImmutablePair.emptyArray()
Returns the empty array singleton that can be assigned without compiler warning.static <L,
R> ImmutablePair<L, R> ImmutablePair.nullPair()
Returns an immutable pair of nulls.static <L,
R> ImmutablePair<L, R> Creates an immutable pair from a map entry.static <L,
R> ImmutablePair<L, R> ImmutablePair.of
(L left, R right) Creates an immutable pair of two objects inferring the generic types.static <L,
R> ImmutablePair<L, R> ImmutablePair.ofNonNull
(L left, R right) Creates an immutable pair of two non-null objects inferring the generic types.