class documentation

class UnsortedTableMap(MapBase):

View In Hierarchy

Map implementation using an unordered list.

Method __delitem__ Remove item associated with key k (raise KeyError if not found).
Method __getitem__ Return value associated with key k (raise KeyError if not found).
Method __init__ Create an empty map.
Method __iter__ Generate iteration of the map's keys.
Method __len__ Return number of items in the map.
Method __setitem__ Assign value v to key k, overwriting existing value if present.
Instance Variable _table Undocumented

Inherited from MapBase:

Class _Item Lightweight composite to store key-value pairs as map items.
def __delitem__(self, k):

Remove item associated with key k (raise KeyError if not found).

def __getitem__(self, k):

Return value associated with key k (raise KeyError if not found).

def __init__(self):

Create an empty map.

def __iter__(self):

Generate iteration of the map's keys.

def __len__(self):

Return number of items in the map.

def __setitem__(self, k, v):

Assign value v to key k, overwriting existing value if present.

_table: list =

Undocumented