123 |
|
* if the current value is <a href="#bitEquals">bitwise equal</a> |
124 |
|
* to the expected value. |
125 |
|
* |
126 |
< |
* <p>May <a |
126 |
> |
* <p><a |
127 |
|
* href="http://download.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/package-summary.html#Spurious"> |
128 |
< |
* fail spuriously</a> |
129 |
< |
* and does not provide ordering guarantees, so is only rarely an |
130 |
< |
* appropriate alternative to {@code compareAndSet}. |
128 |
> |
|
129 |
> |
* May fail spuriously and does not provide ordering guarantees</a>, |
130 |
> |
* so is only rarely an appropriate alternative to {@code compareAndSet}. |
131 |
|
* |
132 |
|
* @param expect the expected value |
133 |
|
* @param update the new value |