Summary

Public constructors

AtomicInt(initialValue: Int)
Cmn
N

Public functions

Boolean
compareAndSet(expect: Int, update: Int)
Cmn
N
Int
Cmn
N
Int
get()
Cmn
N
Int
Cmn
N
Int
Cmn
N
Unit
set(value: Int)
Cmn
N

Public constructors

AtomicInt

AtomicInt(initialValue: Int)

Public functions

compareAndSet

fun compareAndSet(expect: Int, update: Int): Boolean

decrementAndGet

fun decrementAndGet(): Int

get

fun get(): Int

getAndIncrement

fun getAndIncrement(): Int

incrementAndGet

fun incrementAndGet(): Int

set

fun set(value: Int): Unit