Thanks to visit codestin.com Credit goes to kotlinlang.org
Atomically sets the value of the element at the given index to the new value.
Provides sequential consistent ordering guarantees.
if the index is out of bounds of this array.
Thanks for your feedback!