HashMap


Description:

public HashMap (owned HashDataFunc<K>? key_hash_func = null, owned EqualDataFunc<K>? key_equal_func = null, owned EqualDataFunc<V>? value_equal_func = null)

Constructs a new, empty hash map.

If not provided, the functions parameters are requested to the Functions function factory methods.

Parameters:

key_hash_func

an optional key hash function

key_equal_func

an optional key equality testing function

value_equal_func

an optional value equality testing function