Class SingleNode<T>

A node for singly linked data structures.

Typeparam

T - The type of value stored in the node

Type Parameters

  • T

Constructors

Properties

Constructors

Properties

next: SingleNode<T> = null

Reference to the next node in the sequence

val: T

The value stored in this node