|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjdbm.helper.ByteArrayComparator
public final class ByteArrayComparator
Comparator for byte arrays.
Constructor Summary | |
---|---|
ByteArrayComparator()
|
Method Summary | |
---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Compare two objects. |
static int |
compareByteArray(byte[] thisKey,
byte[] otherKey)
Compare two byte arrays. |
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 ByteArrayComparator()
Method Detail |
---|
public int compare(java.lang.Object obj1, java.lang.Object obj2)
compare
in interface java.util.Comparator
obj1
- First objectobj2
- Second object
public static int compareByteArray(byte[] thisKey, byte[] otherKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |