public final class ComparableComparator<C extends Comparable<C>> extends Object implements Comparator<C>
| Constructor and Description |
|---|
ComparableComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(C object,
C other) |
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 int compare(C object, C other)
compare in interface Comparator<C extends Comparable<C>>Copyright © 2007–2019 Andreas W. Bartels. All rights reserved.