|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeHandleSet
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 |
---|
boolean putHandle(NodeHandle handle)
handle
- the handle to put.
NodeHandle getHandle(Id id)
id
- a node id.
NodeHandle getHandle(int i)
i
- an index.
boolean memberHandle(Id id)
id
- a node id.
NodeHandle removeHandle(Id id)
nid
- the node to remove.
int size()
int getIndexHandle(Id id) throws java.util.NoSuchElementException
id
- the id.
java.util.NoSuchElementException
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |