public final long decrementAndGet (int i)

Atomically decrements the value of the element at index i, with memory effects as specified by VarHandle.getAndAdd.

Equivalent to addAndGet(i, -1).

Parameters:
i    the index

Returns:  the updated value