Changeset 31
- Timestamp:
- 10/16/07 15:56:30 (1 year ago)
- Location:
- trunk/src/planet
- Files:
-
- 2 modified
-
commonapi/NodeHandle.java (modified) (1 diff)
-
generic/commonapi/NodeHandleImpl.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/planet/commonapi/NodeHandle.java
r2 r31 39 39 * Evaluates the proximity between the node who invokes this method, 40 40 * and the node that represents this NodeHandle. 41 * @ return The proximity between the two nodes, who invokes and42 * the node represented by this NodeHandle.41 * @param nodeHandle The NodeHandle to which the proximity should be evaluated 42 * @return The proximity between the node represented through this NodeHandle and the parameter 43 43 */ 44 public abstract int getProximity( );44 public abstract int getProximity(NodeHandle nodeHandle); 45 45 46 46 /** -
trunk/src/planet/generic/commonapi/NodeHandleImpl.java
r2 r31 1 1 package planet.generic.commonapi; 2 2 3 import planet.commonapi.Id; 3 4 import planet.commonapi.NodeHandle; 4 import planet.commonapi.Id;5 5 6 6 /** … … 71 71 * @return Always one 72 72 */ 73 public int getProximity( ) {73 public int getProximity(NodeHandle nodehandle) { 74 74 return 1; 75 75 }
