|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.backends.jeb.IndexModComparator
public class IndexModComparator
A comparator for index modifications.
| Constructor Summary | |
|---|---|
IndexModComparator(java.util.Comparator<byte[]> comparator,
boolean compareID)
Create a new comparator for index modifications. |
|
| Method Summary | |
|---|---|
int |
compare(IndexMod a,
IndexMod b)
Compares its two arguments for order. |
| 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 |
|---|
public IndexModComparator(java.util.Comparator<byte[]> comparator,
boolean compareID)
comparator - The index key comparator.compareID - Indicates when true that the entry ID should also factor
into the comparison, in addition to the index key.| Method Detail |
|---|
public int compare(IndexMod a,
IndexMod b)
compare in interface java.util.Comparator<IndexMod>a - the first object to be compared.b - the second object to be compared.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||