All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.co.touchlab.stately.collections.IsoMutableIterator.kt Maven / Gradle / Ivy

package co.touchlab.stately.collections

import co.touchlab.stately.isolate.IsolateState
import co.touchlab.stately.isolate.StateHolder

class IsoMutableIterator internal constructor(stateHolder: StateHolder>) :
    IsolateState>(stateHolder), MutableIterator {
    override fun hasNext(): Boolean = access { it.hasNext() }
    override fun next(): T = access { it.next() }
    override fun remove() = access { it.remove() }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy