|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.direct.GenericNetwork.Coordinate
DESCRIBE THE CLASS
Field Summary | |
static int |
GNPDIMENSIONS
DESCRIBE THE FIELD |
int |
index
DESCRIBE THE FIELD |
double[] |
pos
DESCRIBE THE FIELD |
Constructor Summary | |
GenericNetwork.Coordinate(int _index,
double[] arr)
Constructor for Coordinate. |
Method Summary | |
double |
distance(GenericNetwork.Coordinate o)
DESCRIBE THE METHOD |
java.lang.String |
toString()
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int index
public double[] pos
public static int GNPDIMENSIONS
Constructor Detail |
public GenericNetwork.Coordinate(int _index, double[] arr)
_index
- DESCRIBE THE PARAMETERarr
- DESCRIBE THE PARAMETERMethod Detail |
public double distance(GenericNetwork.Coordinate o)
o
- DESCRIBE THE PARAMETER
public java.lang.String toString()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |