iterator

abstract fun <N, Row, Column> iterator(model: TreeMapModel<N, Row, Column>, root: N): Iterable<N>

Controls the order by which the tree should be traversed.

Return

an iterator to traverse the tree in the specified order

Parameters

model

the model

root

the root node