TreeNode

class TreeNode<T>(val id: String, var parent: TreeNode<T>?, val data: T, val children: MutableList<TreeNode<T>> = mutableListOf())

Constructors

Link copied to clipboard
constructor(id: String, parent: TreeNode<T>?, data: T, children: MutableList<TreeNode<T>> = mutableListOf())

Properties

Link copied to clipboard
Link copied to clipboard
val data: T
Link copied to clipboard
val id: String
Link copied to clipboard