T
- The type of the session content to be comparedpublic abstract class BaseSessionComparator<T> extends Object implements Comparator<Session>
Constructor and Description |
---|
BaseSessionComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Session s1,
Session s2) |
abstract Comparable<T> |
getComparableObject(Session session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public abstract Comparable<T> getComparableObject(Session session)
public final int compare(Session s1, Session s2)
compare
in interface Comparator<Session>
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.