java.util.Comparator implementations,
such as an invertible comparator and a compound comparator.
| Modifier and Type | Class and Description |
|---|---|
| public class | BooleanComparator
A |
| public class | ComparableComparator<
the type of comparable objects that may be compared by this comparator T extends Comparable
Deprecated
since 6.1. as of 6.1 in favor of Comparator that adapts Comparables to the Comparator interface.
Comparator#naturalOrder()
|
| public abstract class | Comparators
Convenient entry point with generically typed factory methods
for common Spring |
| public class | InstanceComparator<
the type of objects that may be compared by this comparator T>Compares objects based on an arbitrary class order. |
| public class | NullSafeComparator<
the type of objects that may be compared by this comparator T>
Deprecated
since 6.1. as of 6.1 in favor of A Comparator that will safely compare nulls to be lower or higher than
other objects.
Comparator#nullsLast and Comparator#nullsFirst
|