Uses of Class
org.apache.commons.lang3.tuple.Pair
Package
Description
Assists in creating consistent
equals(Object)
, toString()
, hashCode()
, and compareTo(Object)
methods.Provides functionality for Exceptions.
Tuple classes, starting with a Pair class in version 3.0.
-
Uses of Pair in org.apache.commons.lang3.builder
-
Uses of Pair in org.apache.commons.lang3.exception
Modifier and TypeMethodDescriptionContextedException.getContextEntries()
Retrieves the full list of label-value pairs defined in the contextual data.ContextedRuntimeException.getContextEntries()
Retrieves the full list of label-value pairs defined in the contextual data.DefaultExceptionContext.getContextEntries()
Retrieves the full list of label-value pairs defined in the contextual data.ExceptionContext.getContextEntries()
Retrieves the full list of label-value pairs defined in the contextual data. -
Uses of Pair in org.apache.commons.lang3.tuple
Modifier and TypeClassDescriptionclass
ImmutablePair<L,
R> An immutable pair consisting of twoObject
elements.class
MutablePair<L,
R> A mutable pair consisting of twoObject
elements.Modifier and TypeMethodDescriptionstatic <L,
R> Pair<L, R>[] Pair.emptyArray()
Returns the empty array singleton that can be assigned without compiler warning.static <L,
R> Pair<L, R> ImmutablePair.left
(L left) Creates an immutable pair of two objects inferring the generic types.static <L,
R> Pair<L, R> Creates an immutable pair from a map entry.static <L,
R> Pair<L, R> Pair.of
(L left, R right) Creates an immutable pair of two objects inferring the generic types.static <L,
R> Pair<L, R> Pair.ofNonNull
(L left, R right) Creates an immutable pair of two non-null objects inferring the generic types.static <L,
R> Pair<L, R> ImmutablePair.right
(R right) Creates an immutable pair of two objects inferring the generic types.