A node for singly linked data structures.
T - The type of value stored in the node
Creates a new node.
The value to store in the node
Reference to the next node in the sequence
The value stored in this node
A node for singly linked data structures.
Typeparam
T - The type of value stored in the node