putAll

open override fun putAll(from: Map<out K, V>)

Copies all of the mappings from the specified map to this map.

Parameters

from

map mappings to be stored in this map

Throws

if the class of a key or value in the specified map prevents it from being stored in this map

if the specified map contains a null key and this map does not permit null keys (either natural ordering or comparator restriction)