AtomicInteger



Summary

Public constructors

AtomicInteger(initial: Int)
Cmn

Public functions

Boolean
compareAndSet(expected: Int, newValue: Int)
Cmn
Int
get()
Cmn
Int
Cmn
Unit
set(newValue: Int)
Cmn

Public constructors

AtomicInteger

AtomicInteger(initial: Int)

Public functions

compareAndSet

fun compareAndSet(expected: Int, newValue: Int): Boolean

get

fun get(): Int

incrementAndGet

fun incrementAndGet(): Int

set

fun set(newValue: Int): Unit