| 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
 rice.p2p.commonapi.NodeHandle | 
getHandle(rice.p2p.commonapi.Id id)
Finds the NodeHandle associated with the NodeId.  | 
 rice.p2p.commonapi.NodeHandle | 
getHandle(int i)
Gets the ith element in the set.  | 
 int | 
getIndexHandle(rice.p2p.commonapi.Id id)
Gets the index of the element with the given node id.  | 
 boolean | 
memberHandle(rice.p2p.commonapi.Id id)
Verifies if the set contains this particular id.  | 
 boolean | 
putHandle(rice.p2p.commonapi.NodeHandle handle)
Puts a NodeHandle into the set.  | 
 rice.p2p.commonapi.NodeHandle | 
removeHandle(rice.p2p.commonapi.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(rice.p2p.commonapi.NodeHandle handle)
handle - the handle to put.
public rice.p2p.commonapi.NodeHandle getHandle(rice.p2p.commonapi.Id id)
id - a node id.
public rice.p2p.commonapi.NodeHandle getHandle(int i)
i - an index.
public boolean memberHandle(rice.p2p.commonapi.Id id)
id - a node id.
public rice.p2p.commonapi.NodeHandle removeHandle(rice.p2p.commonapi.Id id)
public int size()
public int getIndexHandle(rice.p2p.commonapi.Id id)
                   throws java.util.NoSuchElementException
id - the id.
java.util.NoSuchElementException
  | 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||