|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This represents a basic topology. It is not modifyable, so the relationships must be defined elsewhere. All this interface does, is all access to those relationships.
| Method Summary | |
double |
distance(java.lang.Object element1,
java.lang.Object element2)
Gets the distance between two objects in this topology. |
java.util.List |
getRelations(java.lang.Object element,
double range)
Gets all of the Objects within a given range. |
java.lang.String |
getRelationType()
Get the type of relationship/topology that is represented by this Class. |
void |
setRelationType(java.lang.String type)
Set the name for this type of relation. |
| Method Detail |
public java.util.List getRelations(java.lang.Object element,
double range)
element - range -
public java.lang.String getRelationType()
public double distance(java.lang.Object element1,
java.lang.Object element2)
element1 - element2 -
public void setRelationType(java.lang.String type)
type -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||