T - Type of argument@Immutable public static final class ArrayComparator.Reverse<T extends Comparable<T>> extends Object implements ArrayComparator<T>, Serializable
ArrayComparator.Default<T>, ArrayComparator.Neutral<T>, ArrayComparator.Reverse<T extends Comparable<T>>| Constructor and Description |
|---|
Reverse() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T left,
T right) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(T left, T right)
compare in interface Comparator<T extends Comparable<T>>Copyright © 2012–2021 jcabi.com. All rights reserved.