public final class ByteArrayComparator extends Object implements Comparator, Serializable
| Constructor and Description |
|---|
ByteArrayComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object obj1,
Object obj2)
Compare two objects.
|
static int |
compareByteArray(byte[] thisKey,
byte[] otherKey)
Compare two byte arrays.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(Object obj1, Object obj2)
compare in interface Comparatorobj1 - First objectobj2 - Second objectpublic static int compareByteArray(byte[] thisKey,
byte[] otherKey)
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.