buildMutableMultiset

inline fun <E> buildMutableMultiset(valueType: SetMultisetType = HASH_MULTISET, builderAction: MutableMultiset<E>.() -> Unit): MutableMultiset<E>(source)

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

Receiver

A builder action applied to the returned multiset.

Return

The newly created multiset.

See also

Parameters

E

the type of the multiset

valueType

The collection type used for the backing multiset map.

builderAction

The builder action to apply to the multiset