AtomicInt
class AtomicInt
Atomic values and freezing: atomics AtomicInt, AtomicLong, AtomicNativePtr and AtomicReference are unique types with regard to freezing. Namely, they provide mutating operations, while can participate in frozen subgraphs. So shared frozen objects can have fields of atomic types.
Constructors
<init>
Atomic values and freezing: atomics AtomicInt, AtomicLong, AtomicNativePtr and AtomicReference are unique types with regard to freezing. Namely, they provide mutating operations, while can participate in frozen subgraphs. So shared frozen objects can have fields of atomic types.
AtomicInt(value_: Int)
Properties
value
The value being held by this class.
var value: Int
Functions
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