Interface DoublyLinkedList.ListNode<V>

  • Type Parameters:
    V - the type of the element stored in this node
    Enclosing class:
    DoublyLinkedList<E>

    public static interface DoublyLinkedList.ListNode<V>
    Container for the elements stored in a DoublyLinkedList.

    A DoublyLinkedList.ListNode is either contained exactly once in exactly one DoublyLinkedList or contained in no DoublyLinkedList.

    • Method Detail

      • getValue

        V getValue()
        Returns the immutable value this ListNode contains.
        Returns:
        the value this list node contains