BreadthFirstTreeIterator

class BreadthFirstTreeIterator<out T>(root: Node<T>) : Iterator<T>

Iterator that traverses the nodes of a tree in breadth-first order.

Constructors

Link copied to clipboard
constructor(root: Node<T>)

Functions

Link copied to clipboard
open operator override fun hasNext(): Boolean
Link copied to clipboard
open operator override fun next(): T