public class NaturalComparator<T> extends Object implements Serializable, Comparator<T>
| Constructor and Description |
|---|
NaturalComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T obj1,
T obj2) |
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(T obj1, T obj2)
compare in interface Comparator<T>Copyright © 2011–2019 Eclipse Foundation. All rights reserved.