Singly linked list node.

Type Parameters

  • T

    Type of value stored in this node.

Hierarchy

  • Node

Constructors

Properties

Constructors

  • Creates a node with no successor.

    Type Parameters

    • T

      The type of all elements in the queue.

    Parameters

    • Optional value: T

      Value to store in the node created.

    Returns Node<T>

Properties

next: null | Node<T>

Successor node. null if the node has no successor.

value?: T

Node value.

Generated using TypeDoc