public class TreeInnerIterator extends InnerIterator
NodeIterator
,
NodeIteratorImpl
,
InnerIterator
,
NodeImpl
_current, _owner, _whatToShow
Modifier and Type | Method and Description |
---|---|
Node |
nextNode()
Returns the next node in the tree that matches the whatToShow mask.
|
Node |
previousNode()
Returns the previous node in the tree that matches the whatToShow
mask.
|
detach, getExpandEntityReferences, getFilter, getRoot, getWhatToShow, removeNode, reset, setExpandEntityReferences
public 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 tree 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.