inner class NodeSetIterator(val parentIterator: MutableIterator<T>) : MutableIterator<T>

Iterator which supports remove and delegates all other functionality to parent iterator

Constructors

Link copied to clipboard
constructor(parentIterator: MutableIterator<T>)

Properties

Link copied to clipboard
private var current: T?

The current value, which should be removed on remove

Link copied to clipboard

Functions

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