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