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) |
protected final Comparator<Session> comparator
public ReverseComparator(Comparator<Session> comparator)
public int compare(Session o1, Session o2)
compare
in interface Comparator<Session>
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.