toHashMap

inline fun <K, V> Map<K, V>.toHashMap(): HashMap<K, V>

Returns a HashMap containing all elements.

Example:

mapOf(1 to 2, 2 to 3).toHashMap() // {1=2, 2=3}

Since

1.1.0