public long addAndGet (int i, long delta)

Atomically adds the given value to the element at index i, with memory effects as specified by VarHandle.getAndAdd.

Parameters:
i    the index
delta    the value to add

Returns:  the updated value