Example usage for Java java.util.concurrent.atomic AtomicReferenceArray fields, constructors, methods, implement or subclass
The text is from its open source code.
AtomicReferenceArray(int length) Creates a new AtomicReferenceArray of the given length, with all elements initially null. | |
AtomicReferenceArray(E[] array) Creates a new AtomicReferenceArray with the same length as, and all elements copied from, the given array. |
E | get(int i) Returns the current value of the element at index i , with memory effects as specified by VarHandle#getVolatile . |
int | length() Returns the length of the array. |