public class MessageSequenceComparator extends Object implements Comparator<Message<?>>
Comparator
implementation based on the 'sequence number'
property of a Message's
header.Constructor and Description |
---|
MessageSequenceComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Message<?> message1,
Message<?> message2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(Message<?> message1, Message<?> message2)
compare
in interface Comparator<Message<?>>