List¶
Reference¶
- class List¶
- module:
Doubly linked list with iterator support.
- clear()¶
Remove all elements from the list
- find(v, start?)¶
Find a value starting from an iterator (or from beginning)
- findLast(v, start?)¶
Find a value starting from the end (or from a given iterator)
- erase(itr)¶
Erase the node at the iterator
- insert(itr, value)¶
Insert a value after the iterator
- insertBefore(itr, value)¶
Insert a value before the iterator
- print()¶
Print all elements (in reverse order)