final class LinkedQueueNode<E>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private LinkedQueueNode<E> |
next |
private static long |
NEXT_OFFSET |
private E |
value |
Constructor and Description |
---|
LinkedQueueNode() |
LinkedQueueNode(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() |
LinkedQueueNode<E> |
lvNext() |
void |
soNext(LinkedQueueNode<E> n) |
void |
spValue(E newValue) |
private static final long NEXT_OFFSET
private E value
private volatile LinkedQueueNode<E> next
LinkedQueueNode()
LinkedQueueNode(E val)
public E getAndNullValue()
public E lpValue()
public void spValue(E newValue)
public void soNext(LinkedQueueNode<E> n)
public LinkedQueueNode<E> lvNext()