@InternalApi public class ByteStringComparator extends Object implements Comparator<ByteString>
ByteStrings as unsigned byte arrays.| Modifier and Type | Field and Description |
|---|---|
static ByteStringComparator |
INSTANCE |
| Constructor and Description |
|---|
ByteStringComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ByteString o1,
ByteString o2) |
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 static final ByteStringComparator INSTANCE
public int compare(ByteString o1, ByteString o2)
compare in interface Comparator<ByteString>Copyright © 2019 Google LLC. All rights reserved.