Class OByteArrayComparator
java.lang.Object
com.orientechnologies.common.comparator.OByteArrayComparator
- All Implemented Interfaces:
Comparator<byte[]>
Comparator for byte arrays comparison. Bytes are compared like unsigned not like signed bytes.
- Since:
- 03.07.12
- Author:
- Andrey Lomakin (a.lomakin-at-orientdb.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
OByteArrayComparator
public OByteArrayComparator()
-
-
Method Details
-
compare
public int compare(byte[] arrayOne, byte[] arrayTwo) - Specified by:
comparein interfaceComparator<byte[]>
-