public static class Bytes.ByteArrayComparator extends Object implements Comparator<byte[]>
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] left,
byte[] right) |
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Compares two byte arrays with a specified offset and length.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(byte[] left,
byte[] right)
compare in interface Comparator<byte[]>public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
b1 - left byte arrays1 - offset of left byte arrayl1 - length of left byte arrayb2 - right byte arrays2 - offset of right byte arrayl2 - length of right byte arrayCopyright © 2014 - 2019–2019 University of Leipzig. All rights reserved.