672b5ba0d7
We drop Kotlin function 'remove' or 'getOrDefault' from JvmMappedScope, if it has platform-dependent annotation, and the bound Java class scope does not contain a function with the same signature. #KT-57268 Fixed
13 lines
250 B
Kotlin
Vendored
13 lines
250 B
Kotlin
Vendored
// See KT-42033
|
|
|
|
interface ObservableMap<K, V> : Map<K, V>
|
|
|
|
abstract class ObservableMutableMap<K, V> : ObservableMap<K, V> {
|
|
fun put(key: K, value: V): V? = value
|
|
|
|
fun remove(key: K): V? = null
|
|
|
|
fun putAll(from: Map<out K, V>) {
|
|
}
|
|
}
|