toggle menu
doodle
0.10.4
common
switch theme
search in API
core
/
io.nacular.doodle.utils
/
BreadthFirstTreeIterator
Breadth
First
Tree
Iterator
common
class
BreadthFirstTreeIterator
<
out
T
>
(
root
:
Node
<
T
>
)
:
Iterator
<
T
>
Iterator that traverses the nodes of a tree in breadth-first order.
Members
Constructors
Breadth
First
Tree
Iterator
Link copied to clipboard
common
constructor
(
root
:
Node
<
T
>
)
Functions
has
Next
Link copied to clipboard
common
open
operator override
fun
hasNext
(
)
:
Boolean
next
Link copied to clipboard
common
open
operator override
fun
next
(
)
:
T