public final class ByteArrayComparator extends Object implements Comparator<byte[]>, Serializable
| Constructor and Description |
|---|
ByteArrayComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] obj1,
byte[] 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(byte[] obj1,
byte[] obj2)
compare in interface Comparator<byte[]>obj1 - First objectobj2 - Second objectpublic static int compareByteArray(byte[] thisKey,
byte[] otherKey)
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.