public class OrderedComparator extends Object implements Comparator<Ordered>
| Modifier and Type | Field and Description |
|---|---|
static OrderedComparator |
INSTANCE |
| Constructor and Description |
|---|
OrderedComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Ordered o1,
Ordered 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 OrderedComparator INSTANCE
public int compare(Ordered o1, Ordered o2)
compare in interface Comparator<Ordered>Copyright © 2015. All rights reserved.