- incrementAndGet
Atomically increments by one the current value.
- get
Gets the current value.
- <init>
Creates a new AtomicInteger with the given initial value.
- getAndIncrement
Atomically increments by one the current value.
- set
Sets to the given value.
- decrementAndGet
- addAndGet
Atomically adds the given value to the current value.
- compareAndSet
Atomically sets the value to the given updated value if the current value == the
expected value.
- intValue
Returns the value of this AtomicInteger as an int.
- getAndSet
Atomically sets to the given value and returns the old value.
- getAndDecrement
Atomically decrements by one the current value.
- getAndAdd
Atomically adds the given value to the current value.