ePOST API

rice.pastry.direct
Class GenericNetwork.Coordinate

java.lang.Object
  extended by rice.pastry.direct.GenericNetwork.Coordinate
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
GenericNetwork

public static class GenericNetwork.Coordinate
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int GNPDIMENSIONS
           
 int index
           
 double[] pos
           
 
Constructor Summary
GenericNetwork.Coordinate(int _index, double[] arr)
           
 
Method Summary
 double distance(GenericNetwork.Coordinate o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GNPDIMENSIONS

public static int GNPDIMENSIONS

index

public int index

pos

public double[] pos
Constructor Detail

GenericNetwork.Coordinate

public GenericNetwork.Coordinate(int _index,
                                 double[] arr)
Method Detail

distance

public double distance(GenericNetwork.Coordinate o)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

ePOST API

Copyright © 2001-2005 - Rice Pastry.