addAndGet

external fun addAndGet(delta: Long): Long(source)
fun addAndGet(delta: Int): Long(source)

Increments the value by delta and returns the new value.

Since Kotlin

1.3

Return

the new value

Parameters

delta

the value to add