AtomicLong
class AtomicLong
Constructors
<init>
AtomicLong(value_: Long = 0)
Properties
value
The value being held by this class.
var value: Long
Functions
addAndGet
Increments the value by delta and returns the new value.
fun addAndGet(delta: Long): Long
fun addAndGet(delta: Int): Long
decrement
Decrements value by one.
fun decrement()
increment
Increments value by one.
fun increment()
toString
Returns the string representation of this object.
fun toString(): String