Will be used to instantiate the internal Map.
Optional
iterable: Iterable<readonly [TKey, TVal | ReadonlySet<TVal>]>Entries to add to the map.
Readonly
[toPrivate
countPrivate
Readonly
mapthe number of elements in the Map.
Adds the given key/value binding to the Map.
Loops over all key/value bindings.
Optional
thisArg: anyAdds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
A SetMultiMap that uses an internal Map based on the provided constructor.
In case no input constructor is provided, the default Map implementation will be used.
It is required that the value type of this map is not Set or any extension of Set, otherwise the
set
andadd
functions wil break.