Google is committed to advancing racial equity for Black communities. See how.

AtomicInt

expect class AtomicInt
kotlin.Any
   ↳ androidx.compose.ui.platform.AtomicInt

Summary

Public constructors
<init>(value_: Int)

Public methods
Int
addAndGet(delta: Int)

Boolean
compareAndSet(expected: Int, new: Int)

Public constructors

<init>

AtomicInt(value_: Int)

Public methods

addAndGet

fun addAndGet(delta: Int): Int

compareAndSet

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