olem
02/19/2018, 8:05 PMput 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.