Package org.apache.accumulo.core.util
Class ByteArrayComparator
- java.lang.Object
-
- org.apache.accumulo.core.util.ByteArrayComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<byte[]>
public class ByteArrayComparator extends Object implements Comparator<byte[]>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByteArrayComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(byte[] o1, byte[] o2)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(byte[] o1, byte[] o2)
- Specified by:
compare
in interfaceComparator<byte[]>
-
-