# | Line 191 | Line 191 | public class Atomic8Test extends JSR166T | |
---|---|---|
191 | assertEquals(new Integer(10), a.get()); | |
192 | } | |
193 | ||
194 | – | |
194 | /** | |
195 | * AtomicLongArray getAndUpdate returns previous value and updates | |
196 | * result of supplied function | |
# | Line 437 | Line 436 | public class Atomic8Test extends JSR166T | |
436 | assertEquals(10, anIntField); | |
437 | } | |
438 | ||
440 | – | |
439 | /** | |
440 | * AtomicReferenceFieldUpdater getAndUpdate returns previous value | |
441 | * and updates result of supplied function |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |