Package org.apache.commons.functor.core.comparator
package org.apache.commons.functor.core.comparator
Comparator- and
Comparable-based functors, algorithms and utilities.
-
ClassesClassDescriptionSee Commons-Collections for a public version of this class.Adapts a
Comparatorto theBinaryFunctioninterface.IsEquivalent<T>ABinaryPredicatethatteststrueiff the left argument is equal to the right argument under the specifiedComparator.ABinaryPredicatethatteststrueiff the left argument is greater than the right argument under the specifiedComparator.ABinaryPredicatethatteststrueiff the left argument is greater than or equal to the right argument under the specifiedComparator.IsLessThan<T>ABinaryPredicatethatteststrueiff the left argument is greater than the right argument under the specifiedComparator.ABinaryPredicatethatteststrueiff the left argument is less than or equal to the right argument under the specifiedComparator.ABinaryPredicatethatteststrueiff the left argument is not equal to the right argument under the specifiedComparator.IsWithinRange<A extends Comparable<A>>AUnaryPredicatethat tests whether aComparableobject is within a range.Max<T>Adapts aComparatorto theBinaryFunctioninterface.Min<T>Adapts aComparatorto theBinaryFunctioninterface.