|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectbaseCode.common.Visitable
baseCode.common.Distanceable
An object whose distance to other objects can be measured. It is up to the implementer to determine that the two objects being compared are of the same type.
Copyright (c) 2004 Columbia University
| Constructor Summary | |
Distanceable()
|
|
| Method Summary | |
abstract double |
distanceTo(Distanceable a)
|
abstract java.util.Collection |
toCollection()
Return a collections view of the object. |
| Methods inherited from class baseCode.common.Visitable |
isVisited, mark, unMark |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Constructor Detail |
public Distanceable()
| Method Detail |
public abstract double distanceTo(Distanceable a)
a -
public abstract java.util.Collection toCollection()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||