|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used to compare the sorting order of binary data.
Method Summary | |
int |
compareKey(java.lang.Object key1,
java.lang.Object key2)
Compares key Object to determine their sorting order returning a value = to, < or > than 0. |
int |
compareValue(java.lang.Object value1,
java.lang.Object value2)
Comparse value Objects to determine their sorting order returning a value = to, < or > than 0. |
SerializableComparator |
getKeyComparator()
Gets the comparator used to compare keys. |
SerializableComparator |
getValueComparator()
Gets the binary comparator used to compare valuess. |
Method Detail |
public SerializableComparator getKeyComparator()
public SerializableComparator getValueComparator()
public int compareKey(java.lang.Object key1, java.lang.Object key2)
key1
- the first key to comparekey2
- the other key to compare to the first
public int compareValue(java.lang.Object value1, java.lang.Object value2)
value1
- the first value to comparevalue2
- the other value to compare to the first
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |