MirrorableMap

interface MirrorableMap<K, V> : Map<K, V>

A Map that can be mirrored by clients.

Only changes to the map are propagated to clients instead of the whole map on each change.

Note: Do not use this when the client expects the whole map to be updated at once.

Inheritors

Properties

Link copied to clipboard

Listeners of the MirrorableMap. On any map change, all listeners will receive a callback.

Inherited properties

Link copied to clipboard
abstract val entries: Set<Map.Entry<K, V>>
Link copied to clipboard
abstract val keys: Set<K>
Link copied to clipboard
abstract val size: Int
Link copied to clipboard
abstract val values: Collection<V>

Inherited functions

Link copied to clipboard
abstract fun containsKey(key: K): Boolean
Link copied to clipboard
abstract fun containsValue(value: V): Boolean
Link copied to clipboard
open fun forEach(p0: BiConsumer<in K, in V>)
Link copied to clipboard
abstract operator fun get(key: K): V?
Link copied to clipboard
open fun getOrDefault(key: K, defaultValue: V): V
Link copied to clipboard
abstract fun isEmpty(): Boolean