Uses of Class
org.apache.commons.lang3.tuple.Pair
-
Packages that use Pair Package Description org.apache.commons.lang3.builder Provides classes to create consistentequals(Object),toString(),hashCode(), andcompareTo(Object)methods.org.apache.commons.lang3.exception Provides functionality for Exceptions.org.apache.commons.lang3.tuple -
-
Uses of Pair in org.apache.commons.lang3.builder
Subclasses of Pair in org.apache.commons.lang3.builder Modifier and Type Class Description classDiff<T>private static classDiffBuilder.SDiff<T>Fields in org.apache.commons.lang3.builder with type parameters of type Pair Modifier and Type Field Description private static java.lang.ThreadLocal<java.util.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 Pair Modifier and Type Method Description (package private) static Pair<IDKey,IDKey>EqualsBuilder. getRegisterPair(java.lang.Object lhs, java.lang.Object rhs)Converters value pair into a register pair.Methods in org.apache.commons.lang3.builder that return types with arguments of type Pair Modifier and Type Method Description (package private) static java.util.Set<Pair<IDKey,IDKey>>EqualsBuilder. 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 Pair Modifier and Type Field Description private java.util.List<Pair<java.lang.String,java.lang.Object>>DefaultExceptionContext. contextValuesThe list storing the label-data pairs.Methods in org.apache.commons.lang3.exception that return types with arguments of type Pair Modifier and Type Method Description java.util.List<Pair<java.lang.String,java.lang.Object>>ContextedException. getContextEntries()Gets the full list of label-value pairs defined in the contextual data.java.util.List<Pair<java.lang.String,java.lang.Object>>ContextedRuntimeException. getContextEntries()Gets the full list of label-value pairs defined in the contextual data.java.util.List<Pair<java.lang.String,java.lang.Object>>DefaultExceptionContext. getContextEntries()Gets the full list of label-value pairs defined in the contextual data.java.util.List<Pair<java.lang.String,java.lang.Object>>ExceptionContext. getContextEntries()Gets the full list of label-value pairs defined in the contextual data.private java.util.stream.Stream<Pair<java.lang.String,java.lang.Object>>DefaultExceptionContext. stream() -
Uses of Pair in org.apache.commons.lang3.tuple
Subclasses of Pair in org.apache.commons.lang3.tuple Modifier and Type Class Description classImmutablePair<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 Pair Modifier and Type Field Description static Pair<?,?>[]Pair. EMPTY_ARRAYAn empty array.Methods in org.apache.commons.lang3.tuple that return Pair Modifier and Type Method Description static <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>Pair. of(java.util.Map.Entry<L,R> pair)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 Modifier and Type Method Description intPair. compareTo(Pair<L,R> other)Compares the pair based on the left element followed by the right element.
-