preorder Enumeration
Creates and returns an iterable that traverses the subhierarchy rooted at the give node in preorder. The first node returned by the iterator's next() method is the given node.
Return
an iterable that traverses the subtree rooted at this node in preorder.
Parameters
parent
the root of the hierarchy to traverse