public class ReverseComparator<T> extends Object implements Comparator<T>
| Constructor and Description |
|---|
ReverseComparator(Comparator<T> comparator) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic ReverseComparator(Comparator<T> comparator)
public int compare(T o1, T o2)
compare in interface Comparator<T>Licenced under the Apache License, Version 2.0