newChainingMap

@NotNull
open fun <K, V> newChainingMap(capacity: Int): @NotNull Map<K, V>

Creates a new chaining hash map.

Return

new hash map

Since

2.2.1

Parameters

<K>

key type

<V>

value type

capacity

the initial capacity