Package org.apache.commons.functor.core.comparator
Comparator- and
Comparable-based functors, algorithms and utilities.
-
Class Summary Class Description ComparableComparator See Commons-Collections for a public version of this class.ComparatorFunction<T> Adapts aComparatorto theBinaryFunctioninterface.IsEquivalent<T> ABinaryPredicatethatteststrueiff the left argument is equal to the right argument under the specifiedComparator.IsGreaterThan<T> ABinaryPredicatethatteststrueiff the left argument is greater than the right argument under the specifiedComparator.IsGreaterThanOrEqual<T> 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.IsLessThanOrEqual<T> ABinaryPredicatethatteststrueiff the left argument is less than or equal to the right argument under the specifiedComparator.IsNotEquivalent<T> ABinaryPredicatethatteststrueiff the left argument is not equal to the right argument under the specifiedComparator.IsWithinRange<A extends java.lang.Comparable<A>> AUnaryPredicatethat tests whether aComparableobject is within a range.Max<T> Adapts aComparatorto theBinaryFunctioninterface.Min<T> Adapts aComparatorto theBinaryFunctioninterface.