public static final class DataUtility.RealTupleComparator extends Object implements Comparator
Modifier and Type | Field and Description |
---|---|
static DataUtility.RealTupleComparator |
INSTANCE
The single instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(Object obj1,
Object obj2)
Compares two RealTuple-s of the same RealTupleType.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final DataUtility.RealTupleComparator INSTANCE
public int compare(Object obj1, Object obj2) throws ClassCastException
compare
in interface Comparator
obj1
- The first RealTuple.obj2
- The second RealTuple. It shall have the same
RealTupleType as the first RealTuple.ClassCastException
- The types of the arguments prevent this
comparator from comparing them.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.