public class ValueComparator extends Object implements Comparator<Comparable>
| Modifier and Type | Field and Description |
|---|---|
static ValueComparator |
COMPARATOR |
| Constructor and Description |
|---|
ValueComparator(int naOrder) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Comparable o1,
Comparable o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final ValueComparator COMPARATOR
public int compare(Comparable o1, Comparable o2)
compare in interface Comparator<Comparable>Copyright © 2020. All rights reserved.