Atomic integer variable.
new ()
inline decrease (?val:Int):Int
Decreases the variable value and returns it.
Parameters:
val
Value to subtract.
Returns:
Variable value after decrement.
inline get ():Int
Returns the variable value.
Variable value.
inline increase (?val:Int):Int
Increases the variable value.
Value to add.
Variable value after increment.
inline set (val:Int):Void
Sets the variable value.
New value.