Package-level declarations

Types

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

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
suspend fun <K, V> SortedMapLikeBinaryTreeNode<K, V>.contains(data: K): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Will remove (detach) node from tree starting with this

Will remove (detach) node from tree starting with this

Link copied to clipboard

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