public class ByteArrayComparator extends Object implements Comparator<byte[]>
| Modifier and Type | Field and Description |
|---|---|
static ByteArrayComparator |
INSTANCE
A static instance of a ByteArrayComparator
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] byteArray1,
byte[] byteArray2)
Compare two byte arrays.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic static final ByteArrayComparator INSTANCE
public int compare(byte[] byteArray1,
byte[] byteArray2)
compare in interface Comparator<byte[]>byteArray1 - First byteArraybyteArray2 - Second byteArrayCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.