- get
Gets the current value at position i.
- <init>
Creates a new AtomicLongArray with the same length as, and all elements copied
from, the given array
- set
Sets the element at position i to the given value.
- length
Returns the length of the array.
- compareAndSet
Atomically sets the element at position i to the given updated value if the
current value == the exp
- getAndSet
Atomically sets the element at position i to the given value and returns the old
value.
- weakCompareAndSet
Atomically sets the element at position i to the given updated value if the
current value == the exp
- incrementAndGet
Atomically increments by one the element at index i.
- lazySet
Eventually sets the element at position i to the given value.
- addAndGet
Atomically adds the given value to the element at index i.
- getAndAdd
Atomically adds the given value to the element at index i.
- getAndIncrement
Atomically increments by one the element at index i.