arrow-fx-coroutines / arrow.fx.coroutines / AtomicIntW

AtomicIntW

class AtomicIntW

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
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
<