|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvisad.util.DataUtility.RealTupleComparator
public static final class DataUtility.RealTupleComparator
Provides support for comparing RealTuple-s of the same RealTupleType.
| Field Summary | |
|---|---|
static DataUtility.RealTupleComparator |
INSTANCE
The single instance. |
| Method Summary | |
|---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Compares two RealTuple-s of the same RealTupleType. |
| 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 |
| Field Detail |
|---|
public static final DataUtility.RealTupleComparator INSTANCE
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||