Abstract Linked Lists - v1.0.4
    Preparing search index...

    Interface IDoublyLinkedList<N>

    Interface representing a doubly linked list data structure. Implements the base linked list interface with doubly linked nodes.

    interface IDoublyLinkedList<
        N extends IDoublyLinkedListNode = IDoublyLinkedListNode,
    > {
        head: null | N;
        size: number;
        tail: null | N;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    Properties

    head: null | N

    Reference to the first node in the list. Set to null when the list is empty.

    size: number

    The current number of nodes in the list.

    tail: null | N

    Reference to the last node in the list. Set to null when the list is empty.