Class DoubleArrayComparator
java.lang.Object
io.deephaven.engine.table.impl.comparators.DoubleArrayComparator
- All Implemented Interfaces:
Comparator<double[]>
Lexicographicaly compares two arrays using Deephaven ordering for the elements.
-
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
-
Constructor Details
-
DoubleArrayComparator
public DoubleArrayComparator()
-
-
Method Details
-
compare
public int compare(double[] o1, double[] o2) - Specified by:
comparein interfaceComparator<double[]>
-