addAndGet

fun addAndGet(delta: Int): Int(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