put

abstract fun put(key: K, value: V): Boolean(source)

Associates the specified value with the specified key in the map.

Return

true if the method increased the size of the multimap, or false if the multimap already contained the key-value pair and doesn't allow duplicates

See also