long function ( int arg0 , long arg1 ) { while ( true ) { long loc0 = array [ arg0 ] ; if ( compareAndSetRaw ( arg0 , loc0 , arg1 ) ) return loc0 ; } }
atomically sets the element at position i to the given valueand returns the old value . concode_field_sep long[] array concode_elem_sep long serialVersionUID concode_field_sep long getAndIncrement concode_elem_sep void set concode_elem_sep long incrementAndGet concode_elem_sep boolean weakCompareAndSet concode_elem_sep int length concode_elem_sep long decrementAndGet concode_elem_sep void memoryBarrier concode_elem_sep boolean compareAndSet concode_elem_sep long get concode_elem_sep void lazySet concode_elem_sep long getAndAdd concode_elem_sep long addAndGet concode_elem_sep String toString concode_elem_sep long getAndDecrement concode_elem_sep boolean compareAndSetRaw