Class IntrusiveSinglyLinkedQueue<VALUE_TYPE>
java.lang.Object
com.illumon.util.datastructures.linked.IntrusiveSinglyLinkedQueue<VALUE_TYPE>
Singly-linked queue. Supports basic queue operations, but not extended Collection methods that would be required
by actually implementing java.lang.Queue.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Adapter interface for nodes with intrusively-stored next nodes. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor, for sub-class use only. -
Method Summary
-
Constructor Details
-
IntrusiveSinglyLinkedQueue
Constructor, for sub-class use only.- Parameters:
adapter
- The adapter for updating a node's next node.
-
-
Method Details
-
offer
-
poll
-
peek
-
isEmpty
public boolean isEmpty() -
size
public long size()
-