TreeNode

interface 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
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

RemovableTreeNode
Link copied to clipboard

Sources

(source)
Link copied to clipboard