public final class LinkedQueueAtomicNode<E> extends java.util.concurrent.atomic.AtomicReference<LinkedQueueAtomicNode<E>>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private E |
value |
Constructor and Description |
---|
LinkedQueueAtomicNode() |
LinkedQueueAtomicNode(E val) |
Modifier and Type | Method and Description |
---|---|
E |
getAndNullValue()
Gets the current value and nulls out the reference to it from this node.
|
E |
lpValue() |
LinkedQueueAtomicNode<E> |
lvNext() |
void |
soNext(LinkedQueueAtomicNode<E> n) |
void |
spValue(E newValue) |
private static final long serialVersionUID
private E value
LinkedQueueAtomicNode()
LinkedQueueAtomicNode(E val)
public E getAndNullValue()
public E lpValue()
public void spValue(E newValue)
public void soNext(LinkedQueueAtomicNode<E> n)
public LinkedQueueAtomicNode<E> lvNext()