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