MutableMirrorableMap
class MutableMirrorableMap<K, V>(backingMap: MutableMap<K, V>) : MirrorableMap<K, V> , MutableMap<K, V> , Map<K, V>
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
constructor()
Constructs a MutableMirrorableMap with an empty MutableMap as backingMap.
Constructs a MutableMirrorableMap with an MutableMap as backingMap with the specified contents, given as a list of pairs.
Constructs a MutableMirrorableMap with any MutableMap instance as backingMap.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Listeners of the MirrorableMap. On any map change, all listeners will receive a callback.
Link copied to clipboard