Package | Description |
---|---|
org.apache.commons.collections4.functors |
This package contains implementations of the
Closure ,
Predicate ,
Transformer and
Factory interfaces. |
Modifier and Type | Field and Description |
---|---|
private ComparatorPredicate.Criterion |
ComparatorPredicate.criterion
The comparison evaluation criterion to use
|
Modifier and Type | Method and Description |
---|---|
static ComparatorPredicate.Criterion |
ComparatorPredicate.Criterion.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComparatorPredicate.Criterion[] |
ComparatorPredicate.Criterion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T> Predicate<T> |
ComparatorPredicate.comparatorPredicate(T object,
java.util.Comparator<T> comparator,
ComparatorPredicate.Criterion criterion)
Factory to create the comparator predicate
|
Constructor and Description |
---|
ComparatorPredicate(T object,
java.util.Comparator<T> comparator,
ComparatorPredicate.Criterion criterion)
Constructor that performs no validation.
|