Class RowVersionComparator
- java.lang.Object
-
- org.hibernate.internal.util.compare.RowVersionComparator
-
- All Implemented Interfaces:
Comparator<byte[]>
public final class RowVersionComparator extends Object implements Comparator<byte[]>
-
-
Field Summary
Fields Modifier and Type Field Description static RowVersionComparator
INSTANCE
-
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
-
-
-
-
Field Detail
-
INSTANCE
public static final RowVersionComparator INSTANCE
-
-
Method Detail
-
compare
public int compare(byte[] o1, byte[] o2)
- Specified by:
compare
in interfaceComparator<byte[]>
-
-