Package | Description |
---|---|
org.apache.commons.collections4.functors |
This package contains implementations of the
Closure ,
Predicate ,
Transformer and
Factory interfaces. |
Modifier and Type | Method and Description |
---|---|
static ComparatorPredicate.Criterion |
ComparatorPredicate.Criterion.valueOf(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,
Comparator<T> comparator,
ComparatorPredicate.Criterion criterion)
Factory to create the comparator predicate
|
Constructor and Description |
---|
ComparatorPredicate(T object,
Comparator<T> comparator,
ComparatorPredicate.Criterion criterion)
Constructor that performs no validation.
|
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.