AtomicReferenceArray weakCompareAndSetAcquire() method in Java with Examples
The weakCompareAndSetAcquire() method of a AtomicReferenceArray class is used to atomically sets the value of the element at index i to newValue to newValue for AtomicReferenceArray if the current value is equal to expectedValue passed as parameter. This method updates the value at index i with memo