- Type Parameters:
T
- subclass of MailMessage
- All Implemented Interfaces:
- java.util.Comparator<T>
- Enclosing class:
- MailMessage
public static class MailMessage.SentDateComparator<T extends MailMessage>
extends BasicStorable.CdateComparator<T>
Compares two MailMessage using their SentDate in descending order (newest date first).
Default to Cdate Comparison if the 2 SentDate are the equals.
Note: this comparator imposes orderings that are inconsistent with equals.
- See Also:
BasicStorable.CdateComparator