public class AtomicReference<V>
- Object
- AtomicReference
CLDC11 subset stub. Compile-time visible only; the actual runtime
implementation comes from the platform (the Android JDK on Android,
vm/JavaAPI on ParparVM, the host JDK in the JavaSE simulator).Constructors
public AtomicReference() | |
public AtomicReference(V initialValue) |
Methods
Inherited methods
Constructor details
AtomicReference
public AtomicReference()AtomicReference
public AtomicReference(V initialValue)Method details
compareAndSet
public final boolean compareAndSet(V expect, V update)get
public V get()getAndSet
public final V getAndSet(V newValue)lazySet
public final void lazySet(V newValue)weakCompareAndSet
public final boolean weakCompareAndSet(V expect, V update)set
public final void set(V newValue)