class Linkedlist::Doubly(T)
- Linkedlist::Doubly(T)
- Reference
- Object
Defined in:
linkedlist/doubly.crConstructors
-
.new
Intializes a doubly linked list
Instance Method Summary
-
#head
Returns the head of linked list
-
#insert_head(data : T)
Inserts new element at the head of the linked list
-
#insert_tail(data : T)
Inserts new element at the tail of the linked list
-
#length
Returns the length of linked list
-
#tail
Returns the tail of linked list