public class ByteArrayLexOrder extends Object implements Comparator
| Constructor and Description |
|---|
ByteArrayLexOrder() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object obj1,
Object obj2)
Perform lexicographical comparison of two byte arrays, regarding each
byte as unsigned.
|
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 final int compare(Object obj1, Object obj2)
compare in interface Comparatorobj1 - first byte array to compare.obj2 - second byte array to compare.ClassCastException - if either argument is not a
byte array.Copyright © 2010–2023 Open Identity Platform Community. All rights reserved.