Constructor.
Constructor.
MapIterator template instance.
If V is a static array, opIndex() und opIndexAssign() need to return a dynamic array slicing the value.
Removes all elements from all buckets and sets the element values to val_init.
Obtains a reference to the value mapped by key. A value for key is expected to exist in the map.
'foreach' iteration over key/value pairs currently in the map.
Same as above, but includes a counter
In operator. Looks up the value mapped by key.
Obtains a the value mapped by key. A value for key is expected to exist in the map.
Adds or updates a mapping from the specified key.
Looks up the mapping for key or adds one if not found.
Adds or updates a mapping from the specified key.
Removes the mapping for the specified key and optionally invokes dg with the value that is about to be removed.
Mixin of the specialized iterator classes which inherit from BucketSet.Iterator. This makes available three iterator classes that can be newed to allow certain iteration behaviors:
If V is a static array, opIndex() und opIndexAssign() need to return a dynamic array slicing the value.
Map class template to store values of a certain type. Manages a mapping from K to V, leaving the hash function implementation to the subclass (abstract BucketSet.toHash()).