arrow-fx / arrow.fx.internal / 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/
| <init> | AtomicIntW(a: Int) |
| value | var value: Int |
| 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?
✖