mutableMultimapOf

Returns an empty new Multimap.

Prefer mutableSetMultimapOf or mutableListMultimapOf over this.


fun <K, V> mutableMultimapOf(vararg elements: Pair<K, V>): MutableMultimap<K, V>(source)

Returns a new Multimap with the given elements.

Prefer mutableSetMultimapOf or mutableListMultimapOf over this.


@JvmName(name = "mutableMultimapOfCollection")
fun <K, V> mutableMultimapOf(vararg elements: Pair<K, Collection<V>>): MutableMultimap<K, V>(source)

Returns a new MutableMultimap with the given elements.

Prefer mutableSetMultimapOf or mutableListMultimapOf over this.