boolean function ( int arg0 , E arg1 , E arg2 ) { return compareAndSet ( arg0 , arg1 , arg2 ) ; }
atomically sets the element at position i to the givenupdated value if the current value == the expected value.may fail spuriously and does not provide ordering guarantees , so is only rarely an appropriate alternative to compareandset . concode_field_sep Object[] array concode_elem_sep int shift concode_elem_sep long arrayFieldOffset concode_elem_sep long serialVersionUID concode_elem_sep Unsafe unsafe concode_elem_sep int base concode_field_sep void set concode_elem_sep long byteOffset concode_elem_sep boolean compareAndSet concode_elem_sep E get concode_elem_sep int length concode_elem_sep long checkedByteOffset concode_elem_sep void lazySet concode_elem_sep E getRaw concode_elem_sep String toString concode_elem_sep E getAndSet concode_elem_sep boolean compareAndSetRaw concode_elem_sep void readObject