class RdList<V : Any> : RdReactiveBase
RdList(valSzr: ISerializer<V> = Polymorphic<V>()) |
var optimizeNested: Boolean |
|
val valSzr: ISerializer<V> |
open var async: Boolean
If set to true, local changes to this object can be performed on any thread. Otherwise, local changes can be performed only on the UI thread. |
|
val defaultScheduler: <ERROR CLASS> |
|
var isLocalChange: Boolean |
|
var master: Boolean |
|
val serializers: ISerializers |
|
val wire: IWire |
|
open val wireScheduler: <ERROR CLASS>
Scheduler on which wire invokes callback onWireReceived. Default is the same as protocol's one. |
fun add(element: V): <ERROR CLASS>fun add(index: Int, element: V): <ERROR CLASS> |
|
fun addAll(index: Int, elements: Collection<V>): Booleanfun addAll(elements: Collection<V>): Boolean |
|
fun advise(lifetime: <ERROR CLASS>, handler: (<ERROR CLASS><V>) -> Unit): Unit |
|
fun adviseOn(lifetime: <ERROR CLASS>, scheduler: <ERROR CLASS>, handler: (<ERROR CLASS><V>) -> Unit): Unit |
|
fun clear(): <ERROR CLASS> |
|
fun deepClone(): IRdBindable |
|
fun init(lifetime: <ERROR CLASS>): Unit |
|
fun iterator(): MutableListIterator<V> |
|
fun listIterator(): MutableListIterator<V>fun listIterator(index: Int): MutableListIterator<V> |
|
fun onWireReceived(buffer: AbstractBuffer): Unit
Callback that wire triggers when it receives messaged |
|
fun print(printer: <ERROR CLASS>): Unit |
|
fun remove(element: V): Boolean |
|
fun removeAll(elements: Collection<V>): Boolean |
|
fun removeAt(index: Int): V |
|
fun retainAll(elements: Collection<V>): Boolean |
|
fun set(index: Int, element: V): V |
fun assertBound(): Unit |
|
fun assertThreading(): Unit |
const val versionedFlagShift: Int |
fun <V : Any> read(ctx: SerializationCtx, buffer: AbstractBuffer, valSzr: ISerializer<V>): RdList<V> |
|
fun write(ctx: SerializationCtx, buffer: AbstractBuffer, value: RdList<*>): Unit |
fun <T : IRdBindable?> T.bind(lf: <ERROR CLASS>, parent: IRdDynamic, name: String): Unit? |
|
fun <T> T.deepClonePolymorphic(): T |
|
fun <T : IRdBindable?> T.identify(identities: IIdentities, ids: RdId): Unit? |
|
fun <T : RdBindableBase> T.static(id: Int): T |
|
fun <T : RdBindableBase> T.withId(id: RdId): T |
|
fun <T : RdBindableBase> T.withIdFromName(name: String): T |