org.mapdb / Atomic / Integer / addAndGet

addAndGet

fun addAndGet(delta: Int): Int

Atomically adds the given value to the current value.

Parameters

delta - the value to add

Return
the updated value