Atomically sets the value to the given updated value if the current value is bitwise equal to the expected value. @param expect the expected value @param update the new value @return true if successful. False return indicates that the actual value was not bitwise eq
(double expect, double update)
| 144 | |
| 145 | |
| 146 | public final boolean compareAndSet(double expect, double update) { |
| 147 | return updater.compareAndSet(this, doubleToRawLongBits(expect), doubleToRawLongBits(update)); |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * Atomically sets the value to the given updated value |
no outgoing calls
no test coverage detected