public class OrderComparator extends Object implements Comparator<Ordered>
static OrderComparator
INSTANCE
OrderComparator()
int
compare(Ordered o1, Ordered o2)
static void
sort(List<? extends Ordered> list)
sort(Ordered[] array)
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 static final OrderComparator INSTANCE
public OrderComparator()
public int compare(Ordered o1, Ordered o2)
compare
Comparator<Ordered>
public static void sort(List<? extends Ordered> list)
public static void sort(Ordered[] array)
Copyright © 2021. All rights reserved.