| org.mmbase.bridge.util.TreeIterator
TreeIterator | public interface TreeIterator extends NodeIterator(Code) | | A specialized iterator for 'TreeLists'
author: Michiel Meeuwissen version: $Id: TreeIterator.java,v 1.4 2008/02/28 12:23:51 michiel Exp $ since: MMBase-1.7 See Also: org.mmbase.bridge.util.TreeList |
Method Summary | |
int | currentDepth() | Node | getParent() Returns the 'parent' node of the most recently returned Node. | NodeList | getSiblings() Returns all nodes with the same parent as the most recently return Node (include that node
itself). |
currentDepth | int currentDepth()(Code) | | Depth of the last node fetched with next() or nextNode()
Depth of the last node fetched |
getParent | Node getParent()(Code) | | Returns the 'parent' node of the most recently returned Node. Or null if there
is no such node.
since: MMBase-1.8.6 |
getSiblings | NodeList getSiblings()(Code) | | Returns all nodes with the same parent as the most recently return Node (include that node
itself).
since: MMBase-1.8.6 |
|
|