public class OrderComparator extends Object implements Comparator<Ordered>
| Modifier and Type | Field and Description |
|---|---|
static OrderComparator |
INSTANCE |
| Constructor and Description |
|---|
OrderComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Ordered o1,
Ordered o2) |
static void |
sort(List<? extends Ordered> list) |
static void |
sort(Ordered[] array) |
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 OrderComparator INSTANCE
Copyright © 2024. All rights reserved.