
name.remal.kotlin.collections.MutableMap.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common Show documentation
Show all versions of common Show documentation
Java & Kotlin tools: common
The newest version!
package name.remal
import name.remal.collections.ObservableCollections
import name.remal.collections.ObservableMap
import java.util.Collections.synchronizedMap
fun MutableMap.asSynchronized(): MutableMap = synchronizedMap(this)
fun MutableMap.removeAll(keys: Iterable) = keys.forEach { remove(it) }
fun MutableMap.asObservable(): ObservableMap = ObservableCollections.observableMap(this)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy