Java java.util.concurrent.atomic AtomicReferenceArray fields, constructors, methods, implement or subclass

Example usage for Java java.util.concurrent.atomic AtomicReferenceArray fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.concurrent.atomic AtomicReferenceArray.

The text is from its open source code.

Constructor

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.

Method

Eget(int i)
Returns the current value of the element at index i , with memory effects as specified by VarHandle#getVolatile .
intlength()
Returns the length of the array.