MutableMirrorableMap
class MutableMirrorableMap<K, V>(backingMap: MutableMap<K, V>) : MirrorableMap<K, V> , MutableMap<K, V> , Map<K, V>
Content copied to clipboard
Implements a mutable MirrorableMap.
Wraps the backingMap which can be any type of MutableMap. After constructing a MutableMirrorableMap, changes to the backingMap need to be made through the MutableMirrorableMap instance.
Throws
when the map is modified in an unsupported manner through the entries, keys or values properties. This behavior is the same for MutableMap types.
Constructors
Link copied to clipboard
Constructs a MutableMirrorableMap with an empty MutableMap as backingMap.
Link copied to clipboard
Constructs a MutableMirrorableMap with an MutableMap as backingMap with the specified contents, given as a list of pairs.
Link copied to clipboard
Constructs a MutableMirrorableMap with any MutableMap instance as backingMap.
Properties
Link copied to clipboard
open override val listeners: LifecycleAwareListenersOwner<MirrorableMapListener<K, V>>
Content copied to clipboard
Listeners of the MirrorableMap. On any map change, all listeners will receive a callback.