DynamicListModel

A model that can change over time. These models do not directly expose mutators, but they admit to being mutable.

Inheritors

Properties

Link copied to clipboard
abstract val changed: Pool<ModelObserver<T>>

Notifies of changes to the model

Link copied to clipboard
open val isEmpty: Boolean

Indicates whether the model has any contents

Link copied to clipboard
abstract val size: Int

Number of elements in the model

Functions

Link copied to clipboard
abstract fun contains(value: T): Boolean
Link copied to clipboard
abstract operator fun get(index: Int): Result<T>
Link copied to clipboard
abstract operator fun iterator(): Iterator<T>
Link copied to clipboard
abstract fun section(range: ClosedRange<Int>): List<T>