|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Centroid<O>
A centroid.
Method Summary | |
---|---|
void |
add(O e)
Add an element to the centroid. |
double |
distance(O o)
The distance between this centroid and an element. |
void |
remove(O o)
Remove an element from the centroid. |
Method Detail |
---|
void add(O e)
e
- The element to add.void remove(O o)
o
- The element to remove.double distance(O o)
o
- The element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |