Interface IntrusiveDoublyLinkedNode<NODE_TYPE extends IntrusiveDoublyLinkedNode<NODE_TYPE>>

All Known Subinterfaces:
NotificationQueue.IndexUpdateNotification, NotificationQueue.Notification
All Known Implementing Classes:
AbstractIndexUpdateNotification, AbstractNotification, InstrumentedListener.Notification, InstrumentedListenerBase.ErrorNotification, InstrumentedListenerBase.NotificationBase, InstrumentedShiftAwareListener.Notification, IntrusiveDoublyLinkedNode.Impl, NotificationWrapper, NullIndexUpdateNotification, TerminalNotification, UpdateCommitter, WaitNotification

public interface IntrusiveDoublyLinkedNode<NODE_TYPE extends IntrusiveDoublyLinkedNode<NODE_TYPE>>
Interface for allowing sub-interfaces to enforce a common interface for intrusive doubly-linked nodes.
  • Method Details

    • getNext

      @NotNull NODE_TYPE getNext()
      Get the next node after this node.
      Returns:
      This node's next node
    • setNext

      void setNext(@NotNull NODE_TYPE other)
      Set this node's next node.
      Parameters:
      other - This node's new next node
    • getPrev

      @NotNull NODE_TYPE getPrev()
      Get the previous node before this node.
      Returns:
      This node's previous node
    • setPrev

      void setPrev(@NotNull NODE_TYPE other)
      Set this node's previous node.
      Parameters:
      other - This node's new previous node