org.mapdb / Atomic / Integer / getAndIncrement

getAndIncrement

fun getAndIncrement(): Int

Atomically increments by one the current value.

Return
the previous value