Package com.arcadedb.serializer
Class UnsignedBytesComparator.PureJavaComparator
- java.lang.Object
-
- com.arcadedb.serializer.UnsignedBytesComparator.PureJavaComparator
-
- All Implemented Interfaces:
ByteArrayComparator
,Comparator<byte[]>
- Enclosing class:
- UnsignedBytesComparator
public static class UnsignedBytesComparator.PureJavaComparator extends Object implements ByteArrayComparator
-
-
Constructor Summary
Constructors Constructor Description PureJavaComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(byte[] left, byte[] right)
boolean
equals(byte[] left, byte[] right, int length)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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[] left, byte[] right)
- Specified by:
compare
in interfaceComparator<byte[]>
-
equals
public boolean equals(byte[] left, byte[] right, int length)
- Specified by:
equals
in interfaceByteArrayComparator
-
-