public class MessageThreadComparator extends Object implements Comparator<MBMessage>, Serializable
Constructor and Description |
---|
MessageThreadComparator() |
MessageThreadComparator(boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(MBMessage msg1,
MBMessage msg2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public MessageThreadComparator()
public MessageThreadComparator(boolean ascending)
public int compare(MBMessage msg1, MBMessage msg2)
compare
in interface Comparator<MBMessage>