KorAtomicInt

Properties

Link copied to clipboard
open override var value: Int

Functions

Link copied to clipboard
open override fun addAndGet(delta: Int): Int
Link copied to clipboard
fun addAndGetMod(delta: Int, modulo: Int): Int
Link copied to clipboard
open override fun compareAndSet(expect: Int, update: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline operator fun KorAtomicInt.getValue(obj: Any, prop: KProperty<Any?>): Int
Link copied to clipboard
Link copied to clipboard
inline operator fun KorAtomicInt.setValue(obj: Any, prop: KProperty<Any?>, v: Int)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
inline fun <T> KorAtomicBase<T>.update(transform: (T) -> T): T