fromMap

fun <K, V> fromMap(mirrorableMap: Map<K, V>?): MirroredMap<K, V>?

Helper method to returns a new MirroredMap or null based on the mirrorableMap argument.

Return

A new MirroredMap instance with mirrorableMap is non-null. Otherwise null.

Parameters

mirrorableMap

The initial data of the map or null.