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

commonMain.org.brightify.hyperdrive.utils.AtomicReference.kt Maven / Gradle / Ivy

There is a newer version: 0.1.159
Show newest version
package org.brightify.hyperdrive.utils

public expect class AtomicReference(value: T) {
    public var value: T

    public fun compareAndSet(expected: T, new: T): Boolean

    public fun compareAndSwap(expected: T, new: T): T
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy