Class IntrusiveDoublyLinkedNode.Impl<NODE_TYPE extends IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>>
java.lang.Object
io.deephaven.util.datastructures.linked.IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>
- All Implemented Interfaces:
IntrusiveDoublyLinkedNode<NODE_TYPE>
- Enclosing interface:
- IntrusiveDoublyLinkedNode<NODE_TYPE extends IntrusiveDoublyLinkedNode<NODE_TYPE>>
public static class IntrusiveDoublyLinkedNode.Impl<NODE_TYPE extends IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>>
extends Object
implements IntrusiveDoublyLinkedNode<NODE_TYPE>
Basic implementation for classes that can simply extend it rather than implement the interface directly.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.util.datastructures.linked.IntrusiveDoublyLinkedNode
IntrusiveDoublyLinkedNode.Adapter<NODE_TYPE extends IntrusiveDoublyLinkedNode<NODE_TYPE>>, IntrusiveDoublyLinkedNode.Impl<NODE_TYPE extends IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Impl
protected Impl()
-
-
Method Details
-
getNext
Description copied from interface:IntrusiveDoublyLinkedNode
Get the next node after this node.- Specified by:
getNext
in interfaceIntrusiveDoublyLinkedNode<NODE_TYPE extends IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>>
- Returns:
- This node's next node
-
setNext
Description copied from interface:IntrusiveDoublyLinkedNode
Set this node's next node.- Specified by:
setNext
in interfaceIntrusiveDoublyLinkedNode<NODE_TYPE extends IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>>
- Parameters:
other
- This node's new next node
-
getPrev
Description copied from interface:IntrusiveDoublyLinkedNode
Get the previous node before this node.- Specified by:
getPrev
in interfaceIntrusiveDoublyLinkedNode<NODE_TYPE extends IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>>
- Returns:
- This node's previous node
-
setPrev
Description copied from interface:IntrusiveDoublyLinkedNode
Set this node's previous node.- Specified by:
setPrev
in interfaceIntrusiveDoublyLinkedNode<NODE_TYPE extends IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>>
- Parameters:
other
- This node's new previous node
-