class Linkedlist::SinglyNode(T)
- Linkedlist::SinglyNode(T)
- Reference
- Object
Defined in:
linkedlist/singly.crConstructors
-
.new(data : T, next __arg0 : SinglyNode(T) | Nil)
Initializes a node with data and next pointer
Instance Method Summary
Constructor Detail
def self.new(data : T, next __arg0 : SinglyNode(T) | Nil)
#
Initializes a node with data and next pointer