equal
deleted
inserted
replaced
153 ((newReference == current.reference && |
153 ((newReference == current.reference && |
154 newStamp == current.stamp) || |
154 newStamp == current.stamp) || |
155 casPair(current, Pair.of(newReference, newStamp))); |
155 casPair(current, Pair.of(newReference, newStamp))); |
156 } |
156 } |
157 |
157 |
158 |
|
159 /** |
158 /** |
160 * Unconditionally sets the value of both the reference and stamp. |
159 * Unconditionally sets the value of both the reference and stamp. |
161 * |
160 * |
162 * @param newReference the new value for the reference |
161 * @param newReference the new value for the reference |
163 * @param newStamp the new value for the stamp |
162 * @param newStamp the new value for the stamp |