|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeSetIterator
An iterator on a node set. Extends the Iterator
interface with
an additional method to reposition the iterator.
Method Summary | |
---|---|
NodeProxy |
peekNode()
Look ahead: returns the node at the iterator's current position but does not move the iterator to the next node. |
void |
setPosition(NodeProxy proxy)
Reposition the iterator on the given NodeProxy, so calling Iterator.next() will return this NodeProxy. |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
NodeProxy peekNode()
void setPosition(NodeProxy proxy)
Iterator.next()
will return this NodeProxy. If the
node does not exist in the node set, the iterator will be positioned
to the end of the set.
proxy
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |