PersistentDataCollection

interface PersistentDataCollection<T> : DataCollection<T>

A persistent data collection, stored in the cloud.

Types

Initializer
Link copied to clipboard
interface Initializer<T> : DataCollection.Initializer<T>
Builder for persistent data collections.

Functions

add
Link copied to clipboard
abstract override fun add(element: T): Boolean
abstract fun add(index: Int, element: T)
addAll
Link copied to clipboard
abstract override fun addAll(elements: Collection<T>): Boolean
abstract fun addAll(index: Int, elements: Collection<T>): Boolean
clear
Link copied to clipboard
abstract override fun clear()
contains
Link copied to clipboard
abstract operator override fun contains(element: T): Boolean
containsAll
Link copied to clipboard
abstract override fun containsAll(elements: Collection<T>): Boolean
forEach
Link copied to clipboard
open fun forEach(p0: Consumer<in T>)
get
Link copied to clipboard
abstract operator fun get(index: Int): T
indexOf
Link copied to clipboard
abstract fun indexOf(element: T): Int
isEmpty
Link copied to clipboard
abstract override fun isEmpty(): Boolean
iterator
Link copied to clipboard
abstract operator override fun iterator(): Iterator<T>
lastIndexOf
Link copied to clipboard
abstract fun lastIndexOf(element: T): Int
listIterator
Link copied to clipboard
abstract override fun listIterator(): MutableListIterator<T>
abstract override fun listIterator(index: Int): MutableListIterator<T>
parallelStream
Link copied to clipboard
open fun parallelStream(): Stream<T>
remove
Link copied to clipboard
abstract override fun remove(element: T): Boolean
removeAll
Link copied to clipboard
abstract override fun removeAll(elements: Collection<T>): Boolean
removeAt
Link copied to clipboard
abstract fun removeAt(index: Int): T
removeIf
Link copied to clipboard
open fun removeIf(p0: Predicate<in T>): Boolean
replaceAll
Link copied to clipboard
open fun replaceAll(p0: UnaryOperator<T>)
retainAll
Link copied to clipboard
abstract override fun retainAll(elements: Collection<T>): Boolean
set
Link copied to clipboard
abstract operator fun set(index: Int, element: T): T
sort
Link copied to clipboard
open fun sort(p0: Comparator<in T>)
spliterator
Link copied to clipboard
open override fun spliterator(): Spliterator<T>
stream
Link copied to clipboard
open fun stream(): Stream<T>
subList
Link copied to clipboard
abstract override fun subList(fromIndex: Int, toIndex: Int): MutableList<T>
toArray
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>

Properties

changedEvent
Link copied to clipboard
abstract val changedEvent: EventRegistry<DataCollection.ChangedEvent<T>>
Event registry for item changes.
ownURI
Link copied to clipboard
abstract val ownURI: URI
The URI where the data collection is stored in the cloud.
size
Link copied to clipboard
abstract override val size: Int

Inheritors

SharedPersistentDataSet
Link copied to clipboard