Nowadays, Java provides another atomic array class. It's called the AtomicLongArray class and it provides the same methods as the IntegerAtomicArray class.
Other interesting methods provided by these classes are:
- get(int i): Returns the value of the array position specified by the parameter
- set(int I, int newValue): Establishes the value of the array position specified by the parameter.