Package | Description |
---|---|
org.apache.commons.lang3.builder |
Assists in creating consistent
equals(Object) , toString() , hashCode() , and compareTo(Object) methods. |
org.apache.commons.lang3.exception |
Provides functionality for Exceptions.
|
org.apache.commons.lang3.tuple |
Tuple classes, starting with a Pair class in version 3.0.
|
Modifier and Type | Class and Description |
---|---|
class |
Diff<T>
A
Diff contains the differences between two Diffable class
fields. |
Modifier and Type | Field and Description |
---|---|
private static java.lang.ThreadLocal<java.util.Set<Pair<IDKey,IDKey>>> |
EqualsBuilder.REGISTRY
A registry of objects used by reflection methods to detect cyclical object references and avoid infinite loops.
|
Modifier and Type | Method and Description |
---|---|
(package private) static Pair<IDKey,IDKey> |
EqualsBuilder.getRegisterPair(java.lang.Object lhs,
java.lang.Object rhs)
Converters value pair into a register pair.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.Set<Pair<IDKey,IDKey>> |
EqualsBuilder.getRegistry()
Returns the registry of object pairs being traversed by the reflection
methods in the current thread.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Pair<java.lang.String,java.lang.Object>> |
DefaultExceptionContext.contextValues
The list storing the label-data pairs.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<java.lang.String,java.lang.Object>> |
ContextedRuntimeException.getContextEntries()
Retrieves the full list of label-value pairs defined in the contextual data.
|
java.util.List<Pair<java.lang.String,java.lang.Object>> |
ContextedException.getContextEntries()
Retrieves the full list of label-value pairs defined in the contextual data.
|
java.util.List<Pair<java.lang.String,java.lang.Object>> |
DefaultExceptionContext.getContextEntries()
Retrieves the full list of label-value pairs defined in the contextual data.
|
java.util.List<Pair<java.lang.String,java.lang.Object>> |
ExceptionContext.getContextEntries()
Retrieves the full list of label-value pairs defined in the contextual data.
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutablePair<L,R>
An immutable pair consisting of two
Object elements. |
class |
MutablePair<L,R>
A mutable pair consisting of two
Object elements. |
Modifier and Type | Method and Description |
---|---|
static <L,R> Pair<L,R> |
Pair.of(L left,
R right)
Obtains an immutable pair of from two objects inferring the generic types.
|
Modifier and Type | Method and Description |
---|---|
int |
Pair.compareTo(Pair<L,R> other)
Compares the pair based on the left element followed by the right element.
|