Class ObjectArrayComparator<T>
java.lang.Object
io.deephaven.engine.table.impl.comparators.ObjectArrayComparator<T>
- All Implemented Interfaces:
Comparator<T[]>
Lexicographicaly compares two arrays using Deephaven ordering for the elements.
Note, although this is equivalent to CharArrayComparator
, it is not replicated to allow for generics.
-
Constructor Summary
Constructors -
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
-
ObjectArrayComparator
public ObjectArrayComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-