public class EnhancedAtomicReference<V>
extends java.util.concurrent.atomic.AtomicReference<V>
AtomicReference with useful methods based on CAS.| Constructor and Description |
|---|
EnhancedAtomicReference() |
| Modifier and Type | Method and Description |
|---|---|
void |
swap(com.google.common.base.Function<V,V> f) |