@InternalApi public class ByteStringComparator extends Object implements Comparator<ByteString>
ByteString
s 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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final ByteStringComparator INSTANCE
public int compare(ByteString o1, ByteString o2)
compare
in interface Comparator<ByteString>
Copyright © 2019 Google LLC. All rights reserved.