Class DepthFirstTreeIterator
-
- All Implemented Interfaces:
-
kotlin.collections.Iterator
public final class DepthFirstTreeIterator<T extends Object> implements Iterator<T>
Walks the child tree, depth-first: first the node, then its descendants, then its next sibling.
-
-
Constructor Summary
Constructors Constructor Description DepthFirstTreeIterator(T root, Function1<T, List<T>> children)
-