← Docs
kotlin-stdlib / kotlin.concurrent / AtomicInt / addAndGet

addAndGet

Native
1.3
fun addAndGet ( delta : Int ) : Int
(source)

Atomically adds the given value to the current value and returns the new value.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .