ForwardingBox.Cas<T>, ForwardingBox.Lock<T>, ForwardingBox.Rx<T>, ForwardingBox.RxLock<T>
delegate
Modifier | Constructor and Description |
---|---|
protected |
Cas(CasBox<T> delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
compareAndSet(T expect,
T update)
The compare and set method which this box is capable of using.
|
T |
getAndSet(T newValue)
Gets the current value, and sets it with a new one.
|
get, set
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, from, ofVolatile, set