public final class OriginalOrderingMessageComprator extends Object implements MessageComparator
Message.getUniqueId()
.
This will effectively sort them in the order in which they entered the
application.Modifier and Type | Field and Description |
---|---|
static MessageComparator |
INSTANCE |
public static final MessageComparator INSTANCE
public int compare(Message o1, Message o2)
compare
in interface Comparator<Message>
Copyright © 2014. All rights reserved.