getAndSet method
T
getAndSet(
- T newValue
Atomically sets the value to the given newValue and returns the old value.
Implementation
external T getAndSet(T newValue);
Atomically sets the value to the given newValue and returns the old value.
external T getAndSet(T newValue);