Package-level declarations

Types

Link copied to clipboard
@Serializable
class SortedBinaryTreeNode<T>(val data: T, comparator: Comparator<T>) : Iterable<SortedBinaryTreeNode<T>>

Functions

Link copied to clipboard

Will add subnode in tree if there are no any node with newData

Link copied to clipboard
suspend fun <T> SortedBinaryTreeNode<T>.contains(data: T): Boolean
Link copied to clipboard
Link copied to clipboard
suspend fun <T> SortedBinaryTreeNode<T>.findNodesInRange(from: T, to: T, fromInclusiveMode: Boolean, toInclusiveMode: Boolean): Set<SortedBinaryTreeNode<T>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Will remove (detach) node from tree starting with this