|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlazyj.mail.comparators.SizeComparator
public class SizeComparator
A MailHeader comparator that sorts the mails by the size.
| Constructor Summary | |
|---|---|
SizeComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(MailHeader o1,
MailHeader o2)
Sorting method : by the size of the mail |
| 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 |
|---|
public SizeComparator()
| Method Detail |
|---|
public int compare(MailHeader o1,
MailHeader o2)
compare in interface java.util.Comparator<MailHeader>o1 - first mailo2 - second mail
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||