- Type Parameters:
K
- the type of element contained in this node.
- All Implemented Interfaces:
Comparable<DynamicOrderedList.DOLNode<K>>
- Enclosing class:
DynamicOrderedList<K>
A node of the doubly-linked list underlying this data structure. Nodes are compared by the numeric
comparison of their tags.
-
Field Summary
Fields
Reference to the next node.
Reference to the previous node.
long
-
Constructor Summary
Constructors
-
Method Summary
-
Field Details
-
content
The actual content.
-
prev
Reference to the previous node.
-
next
Reference to the next node.
-
tag
public long tag
The tag of this node.
-
-