protected static class ShortComparators.NaturalImplicitComparator extends Object implements ShortComparator, Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
NaturalImplicitComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(short a,
short b)
Compares its two primitive-type arguments for order.
|
ShortComparator |
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(short a,
short b)
ShortComparatorcompare in interface ShortComparatorComparatorpublic ShortComparator reversed()
reversed in interface ShortComparatorreversed in interface Comparator<Short>Copyright © 2020. All rights reserved.