59 |
|
} |
60 |
|
|
61 |
|
/** |
62 |
< |
* get returns the last value set or assigned |
62 |
> |
* get returns the last value set or assigned |
63 |
|
*/ |
64 |
|
public void testGetSet() { |
65 |
|
AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; |
77 |
|
} |
78 |
|
|
79 |
|
/** |
80 |
< |
* get returns the last value lazySet by same thread |
80 |
> |
* get returns the last value lazySet by same thread |
81 |
|
*/ |
82 |
|
public void testGetLazySet() { |
83 |
|
AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; |
162 |
|
} |
163 |
|
|
164 |
|
/** |
165 |
< |
* getAndSet returns previous value and sets to given value |
165 |
> |
* getAndSet returns previous value and sets to given value |
166 |
|
*/ |
167 |
|
public void testGetAndSet() { |
168 |
|
AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; |
248 |
|
} |
249 |
|
|
250 |
|
/** |
251 |
< |
* decrementAndGet decrements and returns current value |
251 |
> |
* decrementAndGet decrements and returns current value |
252 |
|
*/ |
253 |
|
public void testDecrementAndGet() { |
254 |
|
AtomicLongFieldUpdater<AtomicLongFieldUpdaterTest> a; |