|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface KeyValue.SamePrefixComparator<T>
Avoids redundant comparisons for better performance.
| Method Summary | |
|---|---|
int |
compareIgnoringPrefix(int commonPrefix,
T left,
int loffset,
int llength,
T right,
int roffset,
int rlength)
Compare two keys assuming that the first n bytes are the same. |
| Method Detail |
|---|
int compareIgnoringPrefix(int commonPrefix,
T left,
int loffset,
int llength,
T right,
int roffset,
int rlength)
commonPrefix - How many bytes are the same.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||