AsyncRdMap

class AsyncRdMap<K : Any, V : Any> : IRdBindable, MutableMap<K, V> , IAsyncSource2<IViewableMap.Event<K, V>>

Constructors

Link copied to clipboard
fun <K : Any, V : Any> AsyncRdMap(keySzr: ISerializer<K> = Polymorphic(), valSzr: ISerializer<V> = Polymorphic())

Types

Link copied to clipboard
object Companion : ISerializer<AsyncRdMap<*, *>>

Functions

Link copied to clipboard
open override fun adviseOn(    lifetime: Lifetime,     scheduler: IScheduler,     handler: (IViewableMap.Event<K, V>) -> Unit)
Link copied to clipboard
open override fun bind()

Sends child objects to the wire. This method is called after the parent sends this instance to the wire.

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun compute(key: K, remappingFunction: BiFunction<in K, in V?, out V?>): V?
Link copied to clipboard
open override fun computeIfAbsent(key: K, mappingFunction: Function<in K, out V>): V
Link copied to clipboard
open override fun computeIfPresent(key: K, remappingFunction: BiFunction<in K, in V, out V?>): V?
Link copied to clipboard
open override fun containsKey(key: K): Boolean
Link copied to clipboard
open override fun containsValue(value: V): Boolean
Link copied to clipboard
open override fun deepClone(): IRdBindable

Creates a clone of this IRdBindable not bound to any protocol

Link copied to clipboard
open fun forEach(p0: BiConsumer<in K, in V>)
Link copied to clipboard
open operator override fun get(key: K): V?
Link copied to clipboard
open override fun getOrDefault(key: K, defaultValue: V): V
Link copied to clipboard
open override fun identify(identities: IIdentities, id: RdId)

Assigns IDs to this node and its child nodes in the graph.

Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open override fun merge(    key: K,     value: V,     remappingFunction: BiFunction<in V, in V, out V?>): V?
Link copied to clipboard
open override fun preBind(    lf: Lifetime,     parent: IRdDynamic,     name: String)

Inserts the node into the object graph under the given parent and assigns the specified name to it. The node will be removed from the graph when the specified lf lifetime is terminated.

Link copied to clipboard
open override fun put(key: K, value: V): V?
Link copied to clipboard
open override fun putAll(from: Map<out K, V>)
Link copied to clipboard
open override fun putIfAbsent(key: K, value: V): V?
Link copied to clipboard
open override fun remove(key: K): V?
open override fun remove(key: K, value: V): Boolean
Link copied to clipboard
open override fun replace(key: K, value: V): V?
open override fun replace(    key: K,     oldValue: V,     newValue: V): Boolean
Link copied to clipboard
open override fun replaceAll(function: BiFunction<in K, in V, out V>)
Link copied to clipboard
fun withId(id: RdId): AsyncRdMap<K, V>

Properties

Link copied to clipboard
var async: Boolean
Link copied to clipboard
val change: IAsyncSource2<IViewableMap.Event<K, V>>
Link copied to clipboard
open override val entries: MutableSet<MutableMap.MutableEntry<K, V>>
Link copied to clipboard
open override val keys: MutableSet<K>
Link copied to clipboard
open override val location: RName
Link copied to clipboard
var optimizeNested: Boolean
Link copied to clipboard
open override val protocol: IProtocol?
Link copied to clipboard
open override val rdid: RdId
Link copied to clipboard
open override val serializationContext: SerializationCtx?
Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val values: MutableCollection<V>