com.liferay.portlet.mail.util.comparator
Class RecipientComparator

java.lang.Object
  extended by com.liferay.portlet.mail.util.comparator.RecipientComparator
All Implemented Interfaces:
java.util.Comparator<MailEnvelope>

public class RecipientComparator
extends java.lang.Object
implements java.util.Comparator<MailEnvelope>

View Source

Author:
Alexander Chow

Constructor Summary
RecipientComparator(boolean asc)
           
 
Method Summary
 int compare(MailEnvelope mailEnvelope1, MailEnvelope mailEnvelope2)
           
 
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

RecipientComparator

public RecipientComparator(boolean asc)
Method Detail

compare

public int compare(MailEnvelope mailEnvelope1,
                   MailEnvelope mailEnvelope2)
Specified by:
compare in interface java.util.Comparator<MailEnvelope>