public static final class DataUtility.RealTupleComparator
extends java.lang.Object
implements java.util.Comparator
| Modifier and Type | Field and Description |
|---|---|
static DataUtility.RealTupleComparator |
INSTANCE
The single instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Compares two RealTuple-s of the same RealTupleType.
|
public static final DataUtility.RealTupleComparator INSTANCE
public int compare(java.lang.Object obj1,
java.lang.Object obj2)
throws java.lang.ClassCastException
compare in interface java.util.Comparatorobj1 - The first RealTuple.obj2 - The second RealTuple. It shall have the same
RealTupleType as the first RealTuple.java.lang.ClassCastException - The types of the arguments prevent this
comparator from comparing them.