protected static class IntComparators.NaturalImplicitComparator extends Object implements IntComparator, Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
NaturalImplicitComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(int a,
int b)
Compares its two primitive-type arguments for order.
|
IntComparator |
reversed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompare, thenComparing, thenComparingcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reverseOrder, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic final int compare(int a,
int b)
IntComparatorcompare in interface IntComparatorComparatorpublic IntComparator reversed()
reversed in interface IntComparatorreversed in interface Comparator<Integer>Copyright © 2020. All rights reserved.