Class NullNaNAwareComparator<T extends Comparable<? super T>>
java.lang.Object
io.deephaven.function.comparators.NullNaNAwareComparator<T>
- Type Parameters:
T
- type to compare.
- All Implemented Interfaces:
Comparator<T>
public class NullNaNAwareComparator<T extends Comparable<? super T>>
extends Object
implements Comparator<T>
Comparator which is aware of NaN and Null values, in the Deephaven convention.
-
Constructor Summary
-
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
-
NullNaNAwareComparator
public NullNaNAwareComparator()Creates a comparator.
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T extends Comparable<? super T>>
-