com.google.cloud.bigtable.util
Class ByteStringComparator
- java.lang.Object
-
- com.google.cloud.bigtable.util.ByteStringComparator
-
- All Implemented Interfaces:
- Comparator<ByteString>
public final class ByteStringComparator extends Object implements Comparator<ByteString>
ComparesByteString
s.
-
-
Field Summary
Fields Modifier and Type Field and Description static ByteStringComparator
INSTANCE
-
Constructor Summary
Constructors Constructor and Description ByteStringComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
compare(ByteString key1, ByteString key2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
INSTANCE
public static final ByteStringComparator INSTANCE
-
-
Method Detail
-
compare
public int compare(ByteString key1, ByteString key2)
- Specified by:
compare
in interfaceComparator<ByteString>
-
-