public class AtomicReference<V> extends Object
| Constructor and Description |
|---|
AtomicReference() |
AtomicReference(V initialValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareAndSet(V expect,
V update) |
V |
get() |
V |
getAndSet(V newValue) |
void |
lazySet(V newValue) |
void |
set(V newValue) |
boolean |
weakCompareAndSet(V expect,
V update) |
Copyright © 2026. All rights reserved.