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

commonMain.kotlinx.collections.atomic.AtomicCollection.kt Maven / Gradle / Ivy

There is a newer version: 1.5.3
Show newest version
package kotlinx.collections.atomic

import kotlinx.atomicfu.AtomicRef

interface AtomicCollection> : Collection {
    val atomic: AtomicRef

    override val size: Int
        get() = atomic.value.size

    override fun contains(element: E): Boolean

    override fun containsAll(elements: Collection): Boolean

    override fun isEmpty(): Boolean

    override fun iterator(): Iterator
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy