Documentation / dataflow / com.femastudios.dataflow.util / mutableMapFieldOf
Go to reference

mutableMapFieldOf

fun <K, V> mutableMapFieldOf(): MutableField<Map<K, V>>

Returns a new MutableField that initially holds an empty Map

See Also

fieldOf

ConstantField

Map


fun <K, V> mutableMapFieldOf(element: Pair<K, V>): MutableField<Map<K, V>>

Returns a new MutableField that initially holds a Map containing the given key and value (expressed as a Pair)

See Also

fieldOf

ConstantField

Map

mapOf


fun <K, V> mutableMapFieldOf(vararg elements: Pair<K, V>): MutableField<Map<K, V>>

Returns a new MutableField that initially holds a Map containing the given keys and values (expressed as Pairs)

See Also

fieldOf

ConstantField

Map

mapOf