fun addAndGet(delta: Long): Long
fun addAndGet(delta: Int): Long
Increments the value by delta and returns the new value.
delta
- the value to add
Return the new value
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native.concurrent/-atomic-long/add-and-get.html