Package i2p.susi.webmail
Class Sorters.SubjectSorter
java.lang.Object
i2p.susi.webmail.Sorters.SubjectSorter
- All Implemented Interfaces:
Serializable
,Comparator<String>
- Enclosing class:
Sorters
sorts Mail objects by subject field
- Author:
- susi
- See Also:
-
Constructor Summary
-
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
-
SubjectSorter
-
-
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>
-