class documentation
class ProbeHashMap(HashMapBase):
Hash map implemented with linear probing for collision resolution.
Method | __iter__ |
Undocumented |
Method | _bucket |
Undocumented |
Method | _bucket |
Undocumented |
Method | _bucket |
Undocumented |
Method | _find |
Search for key k in bucket at index j. |
Method | _is |
Return True if index j is available in table. |
Constant | _AVAIL |
Undocumented |
Inherited from HashMapBase
:
Method | __delitem__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __init__ |
Create an empty hash-table map. |
Method | __len__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | _hash |
Undocumented |
Method | _resize |
Resize bucket array to capacity c and rehash all items. |
Instance Variable | _n |
Undocumented |
Instance Variable | _prime |
Undocumented |
Instance Variable | _scale |
Undocumented |
Instance Variable | _shift |
Undocumented |
Instance Variable | _table |
Undocumented |
Inherited from MapBase
(via HashMapBase
):
Class | _ |
Lightweight composite to store key-value pairs as map items. |