Uses of Class
org.apache.commons.lang3.tuple.Pair
Packages that use Pair
Package
Description
Provides classes to create consistent
equals(Object), toString(), hashCode(), and compareTo(Object) methods.Provides functionality for Exceptions.
Provides classes and methods to work with dates and durations.
-
Uses of Pair in org.apache.commons.lang3.builder
Subclasses of Pair in org.apache.commons.lang3.builderFields in org.apache.commons.lang3.builder with type parameters of type PairModifier and TypeFieldDescriptionprivate static final ThreadLocal<Set<Pair<IDKey,IDKey>>> EqualsBuilder.REGISTRYA registry of objects used by reflection methods to detect cyclical object references and avoid infinite loops.Methods in org.apache.commons.lang3.builder that return PairModifier and TypeMethodDescriptionEqualsBuilder.getRegisterPair(Object lhs, Object rhs) Converters value pair into a register pair.Methods in org.apache.commons.lang3.builder that return types with arguments of type PairModifier and TypeMethodDescriptionEqualsBuilder.getRegistry()Gets the registry of object pairs being traversed by the reflection methods in the current thread. -
Uses of Pair in org.apache.commons.lang3.exception
Fields in org.apache.commons.lang3.exception with type parameters of type PairModifier and TypeFieldDescriptionDefaultExceptionContext.contextValuesThe list storing the label-data pairs.Methods in org.apache.commons.lang3.exception that return types with arguments of type PairModifier and TypeMethodDescriptionContextedException.getContextEntries()Gets the full list of label-value pairs defined in the contextual data.ContextedRuntimeException.getContextEntries()Gets the full list of label-value pairs defined in the contextual data.DefaultExceptionContext.getContextEntries()Gets the full list of label-value pairs defined in the contextual data.ExceptionContext.getContextEntries()Gets the full list of label-value pairs defined in the contextual data.DefaultExceptionContext.stream() -
Uses of Pair in org.apache.commons.lang3.time
Subclasses of Pair in org.apache.commons.lang3.timeModifier and TypeClassDescriptionstatic final classStores a split as a label and duration. -
Uses of Pair in org.apache.commons.lang3.tuple
Subclasses of Pair in org.apache.commons.lang3.tupleModifier and TypeClassDescriptionclassImmutablePair<L,R> An immutable pair consisting of twoObjectelements.classMutablePair<L,R> A mutable pair consisting of twoObjectelements.Fields in org.apache.commons.lang3.tuple declared as PairMethods in org.apache.commons.lang3.tuple that return PairModifier 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.Methods in org.apache.commons.lang3.tuple with parameters of type Pair