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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public 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.