|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.replication.server.UpdateComparator
public class UpdateComparator
Class to use for establishing an order within UpdateMessages.
Field Summary | |
---|---|
static UpdateComparator |
comparator
The UpdateComparator Singleton. |
Method Summary | |
---|---|
int |
compare(UpdateMessage msg1,
UpdateMessage msg2)
Compares two UpdateMessages. |
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 |
Field Detail |
---|
public static UpdateComparator comparator
Method Detail |
---|
public int compare(UpdateMessage msg1, UpdateMessage msg2)
compare
in interface java.util.Comparator<UpdateMessage>
msg1
- first UpdateMessage to comparemsg2
- second UpdateMessage to compare
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |