collections Module¶
Data structures.
-
class
wpull.collections.FrozenDict(orig_dict)[source]¶ Bases:
collections.abc.Mapping,collections.abc.HashableImmutable mapping wrapper.
-
hash_cache¶
-
orig_dict¶
-
-
class
wpull.collections.LinkedList[source]¶ Bases:
objectDoubly linked list.
-
map¶ dict
A mapping of values to nodes.
-
head¶ -
The first node.
-
tail¶ -
The last node.
-
-
class
wpull.collections.LinkedListNode(value, head=None, tail=None)[source]¶ Bases:
objectA node in a
LinkedList.-
value¶ Any value.
-
head¶ LinkedListNode
The node in front.
-
tail¶ LinkedListNode
The node in back.
-
head
-
tail
-
value
-