Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LinkedListNode

Hierarchy

  • LinkedListNode

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • value: any

      Data item for the node

    • Optional next: any

      Next data item for the node

    Returns LinkedListNode

Properties

next

next: null | LinkedListNode
property

Optional next data item for the node

value

value: any
property

Data item for the node

Methods

toString

  • toString(callback?: function): string
  • Convert the node to string

    Parameters

    • Optional callback: function

      A custom function to convert the data item into string representation

        • (value: any): string
        • Parameters

          • value: any

          Returns string

    Returns string

    string