|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.direct.GenericNetwork.Coordinate
public static class 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()
Converts to a String representation of the object. |
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()
toString
in class java.lang.Object
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |