SynchronizedMutableIterator

open class SynchronizedMutableIterator<T>(iterator: MutableIterator<T>, lock: NonRecursiveLock = NonRecursiveLock()) : MutableIterator<T>

Constructors

Link copied to clipboard
constructor(iterator: MutableIterator<T>, lock: NonRecursiveLock = NonRecursiveLock())

Functions

Link copied to clipboard
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()
Link copied to clipboard
fun <T> Iterator<T>.toList(): List<T>