boolean function ( V arg0 , V arg1 ) { return unsafe . compareAndSwapObject ( this , valueOffset , arg0 , arg1 ) ; }
atomically sets the value to the given updated 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 Unsafe unsafe concode_elem_sep long serialVersionUID concode_elem_sep long valueOffset concode_elem_sep V value concode_field_sep void set concode_elem_sep boolean compareAndSet concode_elem_sep V get concode_elem_sep void lazySet concode_elem_sep String toString concode_elem_sep V getAndSet