public class ListInnerIterator extends InnerIterator
NodeIterator,
NodeIteratorImpl,
NodeImpl_current, _owner, _whatToShow| Modifier and Type | Method and Description |
|---|---|
Node |
nextNode()
Returns the next node in the list that matches the whatToShow mask.
|
Node |
previousNode()
Returns the previous node in the list that matches the whatToShow
mask.
|
detach, getExpandEntityReferences, getFilter, getRoot, getWhatToShow, removeNode, reset, setExpandEntityReferencespublic Node previousNode()
By definition, the current position is between the next node and the
previous one, thus, if a call to nextNode() will return the following
node, a call to this method will return the last value of nextNode().
The backward traversal algorithm is defined as:
public Node nextNode()
Initially InnerIterator._current points to the list top, and the first returned
node is the one directly underneath it. The forward traversal algorithm
is defined as:
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.