RemovableTreeNode

interface RemovableTreeNode<D> : TreeNode<D>

Functions

createChild
Link copied to clipboard
common
abstract fun createChild(data: D? = null): RemovableTreeNode<D>
Creates a child for this TreeNode.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
remove
Link copied to clipboard
common
abstract fun remove()
Removes this TreeNode from its parent.
toString
Link copied to clipboard
common
open fun toString(): String

Properties

children
Link copied to clipboard
common
abstract val children: Sequence<TreeNode<D>>
data
Link copied to clipboard
common
abstract val data: D?
hasParent
Link copied to clipboard
common
open val hasParent: Boolean
parent
Link copied to clipboard
common
abstract val parent: TreeNode<D>?

Inheritors

ConcurrentTreeNode
Link copied to clipboard

Sources

(source)
Link copied to clipboard