getAndAdd
Deprecated (with error)
Use fetchAndAdd(newValue: Long) instead.
Replace with
this.fetchAndAdd(newValue)
Content copied to clipboard
Atomically adds the given value to the current value and returns the old value.
Use fetchAndAdd(newValue: Long) instead.
this.fetchAndAdd(newValue)
Atomically adds the given value to the current value and returns the old value.
Thanks for your feedback!