public static final class StateUtilities.DescendingComparator<T extends Comparable> extends Object implements Comparator<T>, Serializable
Constructor and Description |
---|
DescendingComparator()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(T c1,
T c2)
Compares its two arguments for order.
|
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 int compare(T c1, T c2)
compare
in interface Comparator<T extends Comparable>
c1
- the first object to be compared.c2
- the second object to be compared.ClassCastException
- if the arguments' types prevent them from being compared by this Comparator.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.