@mathjax/src
    Preparing search index...

    Class LinkedList<DataClass>

    Implements the generic LinkedList class

    Type Parameters

    • DataClass

      The type of data stored in the list

    Hierarchy (View Summary)

    Index

    Constructors

    • This.list is a special ListItem whose next property points to the head of the list and whose prev property points to the tail. This lets us relink the head and tail items in the same way as any other item in the list, without having to handle special cases.

      Type Parameters

      • DataClass

      Parameters

      • ...args: DataClass[]

        The data items that form the initial list

      Returns LinkedList<DataClass>

    Properties

    The linked list

    Methods