MutableMultiMap
A mutable collection similar to a MutableMap except it allows multiple values to be associated with a single key. The associated values are not necessarily distinct (e.g., key foo
may be associated with value bar
multiple times).
Parameters
The type of elements used as keys
The type of elements used as values
Inheritors
Properties
Gets a Sequence of key-value pairs. A given key will appear multiple times in the sequence if it is associated with multiple values. This sequence lazily enumerates over keys and values in the multimap and may reflect changes which occurred after the iteration began.
Functions
Adds all the key-value associations from another map into this one. This will append to the existing associations, not merge or deduplicate. This operation copies from the given values lists. Later changes to those lists do not affect this collection.
Returns a new read-only multimap containing all the key-value associations from this multimap