Actually, it may be because `put` is overriden in ...
# getting-started
o
Actually, it may be because
put
is overriden in
ConcurrentHashMap
. So (as documentation in IntelliJ IDEA tells me) cases 1 and 2 use Kotlin method
public abstract fun put(key: K, value: V): V? defined in kotlin.collections.MutableMap
and case 3 use Java method
public V put(@NotNull K key, @NotNull V value)
defined in
ConcurrentMap
.