public class ReverseComparator extends Object implements Comparator<Session>
| Modifier and Type | Field and Description |
|---|---|
protected Comparator<Session> |
comparator |
| Constructor and Description |
|---|
ReverseComparator(Comparator<Session> comparator) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Session o1,
Session o2) |
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, thenComparingLongprotected Comparator<Session> comparator
public ReverseComparator(Comparator<Session> comparator)
public int compare(Session o1, Session o2)
compare in interface Comparator<Session>Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.