i2p.susi.webmail
Class WebMail.IDSorter

java.lang.Object
  extended by i2p.susi.webmail.WebMail.IDSorter
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
WebMail

 class WebMail.IDSorter
extends java.lang.Object
implements java.util.Comparator

sorts Mail objects by id field

Author:
susi

Constructor Summary
WebMail.IDSorter(MailCache mailCache)
          Set MailCache object, where to get Mails from
 
Method Summary
 int compare(java.lang.Object arg0, java.lang.Object arg1)
           
 
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
 

Constructor Detail

WebMail.IDSorter

public WebMail.IDSorter(MailCache mailCache)
Set MailCache object, where to get Mails from

Parameters:
mailCache -
Method Detail

compare

public int compare(java.lang.Object arg0,
                   java.lang.Object arg1)
Specified by:
compare in interface java.util.Comparator