iterator

open operator override fun iterator(): Iterator<TreeNode<T>>

You can change default iterator by changing defaultIterator property.