Class JmcAtomicReferenceArray<V>
java.lang.Object
org.mpi_sws.jmc.api.util.concurrent.JmcAtomicReferenceArray<V>
- Type Parameters:
V- the type of elements in this array
A redefinition of the
AtomicReferenceArray class. This class
provides an array of references that can be atomically updated. It uses a JmcReentrantLock to ensure thread safety.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JmcAtomicReferenceArray
public JmcAtomicReferenceArray(int length)
-
-
Method Details
-
getAndSet
-
set
-
get
-