Package org.jctools.queues
Class LinkedQueueNode<E>
- java.lang.Object
-
- org.jctools.queues.LinkedQueueNode<E>
-
public final class LinkedQueueNode<E> extends Object
-
-
Constructor Summary
Constructors Constructor Description LinkedQueueNode()LinkedQueueNode(E val)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EgetAndNullValue()Gets the current value and nulls out the reference to it from this node.ElpValue()LinkedQueueNode<E>lvNext()voidsoNext(LinkedQueueNode<E> n)voidspNext(LinkedQueueNode<E> n)voidspValue(E newValue)
-
-
-
Constructor Detail
-
LinkedQueueNode
public LinkedQueueNode()
-
LinkedQueueNode
public LinkedQueueNode(E val)
-
-
Method Detail
-
getAndNullValue
public E getAndNullValue()
Gets the current value and nulls out the reference to it from this node.- Returns:
- value
-
lpValue
public E lpValue()
-
spValue
public void spValue(E newValue)
-
soNext
public void soNext(LinkedQueueNode<E> n)
-
spNext
public void spNext(LinkedQueueNode<E> n)
-
lvNext
public LinkedQueueNode<E> lvNext()
-
-