toggle menu
KAHelpers
androidJvm
switch theme
search in API
dataStructuresAndAlgorithms
/
dev.funkymuse.datastructuresandalgorithms.trees.binarySearchTree
/
BinarySearchTree
Binary
Search
Tree
class
BinarySearchTree
<
T
:
Comparable
<
T
>
>
Members
Constructors
Binary
Search
Tree
Link copied to clipboard
constructor
(
)
Properties
root
Link copied to clipboard
var
root
:
BinarySearchNode
<
T
>
?
Functions
contains
Link copied to clipboard
fun
contains
(
value
:
T
)
:
Boolean
fun
contains
(
subtree
:
BinarySearchTree
<
T
>
)
:
Boolean
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
insert
Link copied to clipboard
fun
insert
(
value
:
T
)
remove
Link copied to clipboard
fun
remove
(
value
:
T
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String