| 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
 NodeHandle | 
getHandle(Id id)
Finds the NodeHandle associated with the NodeId.  | 
 NodeHandle | 
getHandle(int i)
Gets the ith element in the set.  | 
 int | 
getIndexHandle(Id id)
Gets the index of the element with the given node id.  | 
 boolean | 
memberHandle(Id id)
Verifies if the set contains this particular id.  | 
 boolean | 
putHandle(NodeHandle handle)
Puts a NodeHandle into the set.  | 
 NodeHandle | 
removeHandle(Id id)
Removes a node id and its handle from the set.  | 
 int | 
size()
Gets the size of the set.  | 
| Method Detail | 
public boolean putHandle(NodeHandle handle)
handle - the handle to put.
public NodeHandle getHandle(Id id)
id - a node id.
public NodeHandle getHandle(int i)
i - an index.
public boolean memberHandle(Id id)
id - a node id.
public NodeHandle removeHandle(Id id)
id - DESCRIBE THE PARAMETER
public int size()
public int getIndexHandle(Id id)
                   throws java.util.NoSuchElementException
id - the id.
java.util.NoSuchElementException - DESCRIBE THE EXCEPTION
  | 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||