arrow-fx / arrow.fx.internal / AtomicIntW

AtomicIntW

class ~~AtomicIntW~~ Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/

Constructors

<init> AtomicIntW(a: Int)

Properties

value var value: Int

Functions

addAndGet fun addAndGet(delta: Int): Int
compareAndSet fun compareAndSet(expect: Int, update: Int): Boolean
decrementAndGet fun decrementAndGet(): Int
getAndAdd fun getAndAdd(delta: Int): Int
getAndDecrement fun getAndDecrement(): Int
getAndIncrement fun getAndIncrement(): Int
getAndSet fun getAndSet(a: Int): Int
getAndUpdate fun getAndUpdate(f: (Int) -> Int): Int
incrementAndGet fun incrementAndGet(): Int
lazySet fun lazySet(a: Int): Unit
toString fun toString(): String
updateAndGet fun updateAndGet(function: (Int) -> Int): Int

Do you like Arrow?

Arrow Org
<