Class SinglyLinkedListNode<E>

Type Parameters

  • E = any

Hierarchy

  • LinkedListNode<E>
    • SinglyLinkedListNode

Constructors

Constructors

  • The constructor function initializes an instance of a class with a given value and sets the next property to undefined.

    Type Parameters

    • E = any

    Parameters

    • value: E

      The "value" parameter is of type E, which means it can be any data type. It represents the value that will be stored in the node of a linked list.

    Returns SinglyLinkedListNode<E>