HashTable#
- class HashTable(*args, **kwargs)#
Methods#
- class HashTable
-
- classmethod find(hash_table: dict[Any, Any], predicate: Callable[[Any, Any, Any], bool], user_data: Any = None) Any | None#
- Parameters:
hash_table
predicate
user_data
- classmethod foreach(hash_table: dict[Any, Any], func: Callable[[Any, Any, Any], None], user_data: Any = None) None#
- Parameters:
hash_table
func
user_data
- classmethod foreach_remove(hash_table: dict[Any, Any], func: Callable[[Any, Any, Any], bool], user_data: Any = None) int#
- Parameters:
hash_table
func
user_data
- classmethod insert(hash_table: dict[Any, Any], key: Any = None, value: Any = None) bool#
- Parameters:
hash_table
key
value
- classmethod lookup(hash_table: dict[Any, Any], key: Any = None) Any | None#
- Parameters:
hash_table
key
- classmethod lookup_extended(hash_table: dict[Any, Any], lookup_key: Any = None) tuple[bool, Any | None, Any | None]#
- Parameters:
hash_table
lookup_key
- classmethod new_similar(other_hash_table: dict[Any, Any]) dict[Any, Any]#
- Parameters:
other_hash_table