@bodil/core
    Preparing search index...

    Class LinkedList<Node>

    A doubly linked list.

    You never know when you're going to need one.

    Type Parameters

    Implements

    Constructors

    Properties

    "[iterator]": () => IterableIterator<Node> = ...

    Iterate over the nodes in the list from head to tail.

    head?: Node
    tail?: Node

    Methods

    • Insert a node into the list between the given nodes.

      It goes without saying that the prev/next nodes must be adjacent to each other in the list, or exceptions will be thrown.

      Parameters

      Returns Node