public final class ObjectCollatingComparator extends Object implements Comparator<Object>, MetaDefItem, Serializable
Constructor and Description |
---|
ObjectCollatingComparator(boolean isDescendingValue)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(Object firstValue,
Object secondValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ObjectCollatingComparator(boolean isDescendingValue)
isDescendingValue
- ascending or descendingpublic final int compare(Object firstValue, Object secondValue)
compare
in interface Comparator<Object>