class AtomicLong
AtomicLong(value_: Long = 0)
The value being held by this class.
var value: Long
Increments the value by delta and returns the new value.
fun addAndGet(delta: Long): Long
fun addAndGet(delta: Int): Long
Decrements value by one.
fun decrement()
Increments value by one.
fun increment()
Returns the string representation of this object.
fun toString(): String
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native.concurrent/-atomic-long/index.html