fun <T : ZTreeNode<T>> treeTraverse(node: T): Iterator<T>(source)

Traverses a tree structure starting from the given node and returns an iterator over the nodes.

Return

An iterator over the nodes in the tree.

Parameters

node

The root node of the tree.

T

The type of the node that implements the ZTreeNode interface.