com.liferay.portlet.messageboards.util.comparator
Class MessageThreadComparator

java.lang.Object
  extended by com.liferay.portlet.messageboards.util.comparator.MessageThreadComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<MBMessage>

public class MessageThreadComparator
extends java.lang.Object
implements java.util.Comparator<MBMessage>, java.io.Serializable

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Constructor Summary
MessageThreadComparator()
           
 
Method Summary
 int compare(MBMessage msg1, MBMessage msg2)
           
 
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

MessageThreadComparator

public MessageThreadComparator()
Method Detail

compare

public int compare(MBMessage msg1,
                   MBMessage msg2)
Specified by:
compare in interface java.util.Comparator<MBMessage>