# Uses of Enum
org.apache.commons.collections4.functors.ComparatorPredicate.Criterion

Packages that use ComparatorPredicate.Criterion
Package
Description
org.apache.commons.collections4.functors
Implements the `Closure`, `Predicate`, `Transformer` and `Factory` interfaces.

- ## Uses of ComparatorPredicate.Criterion in org.apache.commons.collections4.functors

  Methods in org.apache.commons.collections4.functors that return ComparatorPredicate.Criterion
  Modifier and Type
  Method
  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.
  Methods in org.apache.commons.collections4.functors with parameters of type ComparatorPredicate.Criterion
  Modifier and Type
  Method
  Description
  `static <T> Predicate<T>`
  ComparatorPredicate.`comparatorPredicate(T object, Comparator<T> comparator, ComparatorPredicate.Criterion criterion)`
  Factory to create the comparator predicate
  Constructors in org.apache.commons.collections4.functors with parameters of type ComparatorPredicate.Criterion
  Modifier
  Constructor
  Description
  ``
  `ComparatorPredicate(T object, Comparator<T> comparator, ComparatorPredicate.Criterion criterion)`
  Constructor that performs no validation.