addAll
Adds associations from the given key to the given values. This will append to the existing associations, not merge or deduplicate. This operation copies from the given values. Later changes to the collection do not affect this instance.
Return
True because the multimap is always modified as the result of this operation
Parameters
The key to associate
The values to associate
Adds associations from the given key to the given values, inserting them at the given index in the list of values already associated with the key. This operation copies from the given values. Later changes to the collection do not affect this instance.
Return
True because the multimap is always modified as the result of this operation
Parameters
The key to associate
The index at which to insert values in the list of associated values
The values to associate
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.
Parameters
The other map from which to copy values