buildMultimap

inline fun <K, V> buildMultimap(builderAction: ImmutableMultimap.Builder<K, V>.() -> Unit): Multimap<K, V>(source)

Builds a new immutable multimap with the given builderAction, using the builder inference api.

Prefer buildSetMultimap or buildListMultimap over this.

Return

The newly created multimap.

See also

Parameters

K

The key type of the multimap.

V

The value type of the multimap.

builderAction

The builder action to apply to the multimap