Package org.apache.hadoop.hbase.util
Class Bytes.ByteArrayComparator
java.lang.Object
org.apache.hadoop.hbase.util.Bytes.ByteArrayComparator
- All Implemented Interfaces:
Comparator<byte[]>
,org.apache.hadoop.io.RawComparator<byte[]>
- Direct Known Subclasses:
Bytes.RowEndKeyComparator
- Enclosing class:
- Bytes
@Public
public static class Bytes.ByteArrayComparator
extends Object
implements org.apache.hadoop.io.RawComparator<byte[]>
Byte array comparator class.
-
Constructor Summary
-
Method Summary
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
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ByteArrayComparator
public ByteArrayComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<byte[]>
-
compare
- Specified by:
compare
in interfaceorg.apache.hadoop.io.RawComparator<byte[]>
-