Package org.apache.commons.collections.comparators
package org.apache.commons.collections.comparators
This package contains implementations of the
Comparator interface.
You may also consider using
ComparatorUtils,
which is a single class that uses static methods to construct instances
of the classes in this package.
-
ClassesClassDescriptionA
ComparatorforBooleanobjects that can sort either true or false first.AComparatorthat comparesComparableobjects.A ComparatorChain is a Comparator that wraps one or more Comparators in sequence.A Comparator which imposes a specific order on a specific set of Objects.A Comparator that will compare nulls to be either lower or higher than other objects.Reverses the order of another comparator by reversing the arguments to itscomparemethod.Decorates another Comparator with transformation behavior.