|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fsmvis.engine.NeighbourComparator
Constructor Summary | |
NeighbourComparator(DataItemCollection dataItems,
int index)
constructor: takes the dataItemCollection that contain the desired distances, and the index that this is the neighbour list of |
Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares its two arguments for order. |
boolean |
equals(java.lang.Object obj)
Define whether or not this class is equivalent to some other object, never used in this implementation |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NeighbourComparator(DataItemCollection dataItems, int index)
dataItems
- the data item collectionindex
- The index of the owner of this neighbour setMethod Detail |
public int compare(java.lang.Object o1, java.lang.Object o2)
o1
- The first object to be comparedo2
- The other object to be comparedpublic boolean equals(java.lang.Object obj)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |