From ccde61ffd1053e08612ed18788aaa7621b541a5e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 20 Apr 2020 00:23:54 +0200 Subject: API documentation for KVision 3.7.0 --- .../-observable-set-wrapper/-init-.html | 15 ++ .../-observable-set-wrapper/add-all.html | 14 ++ .../-observable-set-wrapper/add.html | 14 ++ .../-observable-set-wrapper/clear.html | 14 ++ .../-observable-set-wrapper/contains-all.html | 14 ++ .../-observable-set-wrapper/contains.html | 14 ++ .../-observable-set-wrapper/get-state.html | 15 ++ .../-observable-set-wrapper/index.html | 160 +++++++++++++++++++++ .../-observable-set-wrapper/is-empty.html | 14 ++ .../-observable-set-wrapper/iterator.html | 14 ++ .../-observable-set-wrapper/mutable-set.html | 14 ++ .../-observable-set-wrapper/on-update.html | 14 ++ .../-observable-set-wrapper/remove-all.html | 14 ++ .../-observable-set-wrapper/remove.html | 14 ++ .../-observable-set-wrapper/retain-all.html | 14 ++ .../-observable-set-wrapper/size.html | 14 ++ .../-observable-set-wrapper/subscribe.html | 15 ++ 17 files changed, 387 insertions(+) create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/-init-.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/add-all.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/add.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/clear.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/contains-all.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/contains.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/get-state.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/index.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/is-empty.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/iterator.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/mutable-set.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/on-update.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/remove-all.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/remove.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/retain-all.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/size.html create mode 100644 api/pl.treksoft.kvision.state/-observable-set-wrapper/subscribe.html (limited to 'api/pl.treksoft.kvision.state/-observable-set-wrapper') diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/-init-.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/-init-.html new file mode 100644 index 00000000..5f2ea2e7 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/-init-.html @@ -0,0 +1,15 @@ + + + +ObservableSetWrapper.<init> - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / <init>
+
+

<init>

+(js) +ObservableSetWrapper(mutableSet: MutableSet<T> = mutableSetOf()) +

Simple observable set implementation.

+ + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/add-all.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/add-all.html new file mode 100644 index 00000000..a280d8b1 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/add-all.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.addAll - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / addAll
+
+

addAll

+(js) +fun addAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/add.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/add.html new file mode 100644 index 00000000..a96e3ed4 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/add.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.add - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / add
+
+

add

+(js) +fun add(element: T): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/clear.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/clear.html new file mode 100644 index 00000000..6660d61e --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/clear.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.clear - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / clear
+
+

clear

+(js) +fun clear(): Unit + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/contains-all.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/contains-all.html new file mode 100644 index 00000000..c2c520b7 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/contains-all.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.containsAll - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / containsAll
+
+

containsAll

+(js) +fun containsAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/contains.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/contains.html new file mode 100644 index 00000000..a3957531 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/contains.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.contains - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / contains
+
+

contains

+(js) +fun contains(element: T): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/get-state.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/get-state.html new file mode 100644 index 00000000..3c42bc37 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/get-state.html @@ -0,0 +1,15 @@ + + + +ObservableSetWrapper.getState - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / getState
+
+

getState

+(js) +fun getState(): Set<T> +

Get current state.

+ + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/index.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/index.html new file mode 100644 index 00000000..7533d5bc --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/index.html @@ -0,0 +1,160 @@ + + + +ObservableSetWrapper - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper
+
+

ObservableSetWrapper

+(js) class ObservableSetWrapper<T> : MutableSet<T>, ObservableSet<T>, ObservableState<Set<T>> +

Simple observable set implementation.

+

Constructors

+ + + + + + + +
+(js) +

<init>

+
+

Simple observable set implementation.

+ObservableSetWrapper(mutableSet: MutableSet<T> = mutableSetOf())
+

Properties

+ + + + + + + + + + + + + + + +
+(js) +

mutableSet

+
+val mutableSet: MutableSet<T>
+(js) +

onUpdate

+
+val onUpdate: MutableCollection<(MutableSet<T>) -> Unit>
+(js) +

size

+
+val size: Int
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+(js) +

add

+
+fun add(element: T): Boolean
+(js) +

addAll

+
+fun addAll(elements: Collection<T>): Boolean
+(js) +

clear

+
+fun clear(): Unit
+(js) +

contains

+
+fun contains(element: T): Boolean
+(js) +

containsAll

+
+fun containsAll(elements: Collection<T>): Boolean
+(js) +

getState

+
+

Get current state.

+fun getState(): Set<T>
+(js) +

isEmpty

+
+fun isEmpty(): Boolean
+(js) +

iterator

+
+fun iterator(): MutableIterator<T>
+(js) +

remove

+
+fun remove(element: T): Boolean
+(js) +

removeAll

+
+fun removeAll(elements: Collection<T>): Boolean
+(js) +

retainAll

+
+fun retainAll(elements: Collection<T>): Boolean
+(js) +

subscribe

+
+

Subscribe for the state change notifications.

+fun subscribe(observer: (Set<T>) -> Unit): () -> Unit
+ + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/is-empty.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/is-empty.html new file mode 100644 index 00000000..930c859b --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/is-empty.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.isEmpty - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / isEmpty
+
+

isEmpty

+(js) +fun isEmpty(): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/iterator.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/iterator.html new file mode 100644 index 00000000..91b28891 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/iterator.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.iterator - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / iterator
+
+

iterator

+(js) +fun iterator(): MutableIterator<T> + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/mutable-set.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/mutable-set.html new file mode 100644 index 00000000..752d66db --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/mutable-set.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.mutableSet - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / mutableSet
+
+

mutableSet

+(js) +val mutableSet: MutableSet<T> + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/on-update.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/on-update.html new file mode 100644 index 00000000..22c14ef4 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/on-update.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.onUpdate - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / onUpdate
+
+

onUpdate

+(js) +val onUpdate: MutableCollection<(MutableSet<T>) -> Unit> + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/remove-all.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/remove-all.html new file mode 100644 index 00000000..15c072d2 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/remove-all.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.removeAll - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / removeAll
+
+

removeAll

+(js) +fun removeAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/remove.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/remove.html new file mode 100644 index 00000000..d58d44f0 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/remove.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.remove - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / remove
+
+

remove

+(js) +fun remove(element: T): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/retain-all.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/retain-all.html new file mode 100644 index 00000000..518685fc --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/retain-all.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.retainAll - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / retainAll
+
+

retainAll

+(js) +fun retainAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/size.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/size.html new file mode 100644 index 00000000..0f593b39 --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/size.html @@ -0,0 +1,14 @@ + + + +ObservableSetWrapper.size - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / size
+
+

size

+(js) +val size: Int + + diff --git a/api/pl.treksoft.kvision.state/-observable-set-wrapper/subscribe.html b/api/pl.treksoft.kvision.state/-observable-set-wrapper/subscribe.html new file mode 100644 index 00000000..24e940eb --- /dev/null +++ b/api/pl.treksoft.kvision.state/-observable-set-wrapper/subscribe.html @@ -0,0 +1,15 @@ + + + +ObservableSetWrapper.subscribe - kvision + + + +kvision / pl.treksoft.kvision.state / ObservableSetWrapper / subscribe
+
+

subscribe

+(js) +fun subscribe(observer: (Set<T>) -> Unit): () -> Unit +

Subscribe for the state change notifications.

+ + -- cgit