registeringMapOf

@ApiStatus.Experimental
@ApiStatus.AvailableSince(value = "5.0.0")
fun <K : Any, V : Any> registeringMapOf(): MutableRegisteringMap<K, V>

Return

A new MutableRegisteringMap with no elements.

Parameters

K

The type of the key.

V

The type of the value.


@ApiStatus.Experimental
@ApiStatus.AvailableSince(value = "5.0.0")
fun <K : Any, V : Any> registeringMapOf(vararg pairs: Pair<K, Loadable<V>>): MutableRegisteringMap<K, V>

Return

A new MutableRegisteringMap with the given pairs inserted.

Parameters

K

The key type in the map.

V

The value type in the map.

pairs

The pairs to insert into the map.