class documentation
class _DoublyLinkedBase:
Known subclasses: dsap.linkedlist.linked_deque.LinkedDeque
, dsap.linkedlist.positional_list.PositionalList
A base class providing a doubly linked list representation.
Method | __init__ |
Create an empty list. |
Method | __len__ |
Return the number of elements in the list. |
Method | is |
Return True if list is empty. |
Class | _ |
Lightweight, nonpublic class for storing a doubly linked node. |
Method | _delete |
Delete nonsentinel node from the list and return its element. |
Method | _insert |
Add element e between two existing nodes and return new node. |
Instance Variable | _header |
Undocumented |
Instance Variable | _size |
Undocumented |
Instance Variable | _trailer |
Undocumented |
overridden in
dsap.linkedlist.positional_list.PositionalList
Add element e between two existing nodes and return new node.