Constructors

Link copied to clipboard
constructor(root: MutableTreeNode<T>)

Properties

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

Inherited properties

Link copied to clipboard
protected val root: MutableTreeNode<T>

Functions

Link copied to clipboard
open override fun add(path: Path<Int>, value: T)
Link copied to clipboard
open override fun addAll(path: Path<Int>, values: Collection<T>)
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun removeAllAt(paths: Collection<Path<Int>>)
Link copied to clipboard
open override fun removeAt(path: Path<Int>): Result<T>
Link copied to clipboard
open operator override fun set(path: Path<Int>, value: T): Result<T>

Inherited functions

Link copied to clipboard
open override fun child(of: Path<Int>, path: Int): Result<T>
Link copied to clipboard
open override fun children(parent: Path<Int>): Iterator<T>
Link copied to clipboard
open operator override fun get(path: Path<Int>): Result<T>
Link copied to clipboard
open override fun indexOfChild(parent: Path<Int>, child: T): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open override fun isLeaf(node: Path<Int>): Boolean
Link copied to clipboard
open fun isNotEmpty(): Boolean
Link copied to clipboard
fun <T, R> TreeModel<T>.map(mapper: (T) -> R): TreeModel<R>
Link copied to clipboard
open override fun numChildren(of: Path<Int>): Int