Package i2p.susi.webmail
Class Sorters.SenderSorter
java.lang.Object
i2p.susi.webmail.Sorters.SenderSorter
- All Implemented Interfaces:
Serializable
,Comparator<String>
- Enclosing class:
- Sorters
public static class Sorters.SenderSorter extends Object
sorts Mail objects by sender field
- Author:
- susi
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SenderSorter(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>
-