Package i2p.susi.webmail
Class Sorters.SubjectSorter
java.lang.Object
i2p.susi.webmail.Sorters.SubjectSorter
- All Implemented Interfaces:
Serializable
,Comparator<String>
- Enclosing class:
- Sorters
public static class Sorters.SubjectSorter extends Object
sorts Mail objects by subject field
- Author:
- susi
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SubjectSorter(MailCache mailCache)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
Method Details
-
compare
- Parameters:
a
- non-nullb
- non-null
-
compare
Gets mail from the cache, checks for null, then compares- Specified by:
compare
in interfaceComparator<String>
-