public static class Sorters.DateSorter extends Object
| Constructor and Description |
|---|
DateSorter(MailCache mailCache)Sorts by date field. |
| Modifier and Type | Method and Description |
|---|---|
protected int | compare(Mail a,
Mail b)Compare two objects. |
static int | scompare(Mail a,
Mail b)Use as fallback in other sorters |
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, thenComparingLongpublic DateSorter(MailCache mailCache)
mailCache - the mail cache