public final class LexicographicComparator<U> extends Object implements Comparator<Comparable<U>[]>
Constructor and Description |
---|
LexicographicComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Comparable<U>[] o1,
Comparable<U>[] o2) |
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(Comparable<U>[] o1, Comparable<U>[] o2)
compare
in interface Comparator<Comparable<U>[]>