commonMain.kotlinx.collections.atomic.AtomicCollection.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlinx-collections-atomic Show documentation
Show all versions of kotlinx-collections-atomic Show documentation
A Kotlin Multiplatform Mutable Collections that are thread safe
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