toggle menu
KAHelpers
androidJvm
switch theme
search in API
dataStructuresAndAlgorithms
/
dev.funkymuse.datastructuresandalgorithms.trees.binarySearchTree
/
BinarySearchNode
Binary
Search
Node
class
BinarySearchNode
<
T
:
Comparable
<
T
>
>
(
var
value
:
T
)
Members
Constructors
Binary
Search
Node
Link copied to clipboard
constructor
(
value
:
T
)
Properties
is
Binary
Search
Tree
Link copied to clipboard
val
isBinarySearchTree
:
Boolean
left
Child
Link copied to clipboard
var
leftChild
:
BinarySearchNode
<
T
>
?
min
Link copied to clipboard
val
min
:
BinarySearchNode
<
T
>
?
right
Child
Link copied to clipboard
var
rightChild
:
BinarySearchNode
<
T
>
?
value
Link copied to clipboard
var
value
:
T
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
traverse
In
Order
Link copied to clipboard
fun
traverseInOrder
(
visit
:
Visitor
<
T
>
)
traverse
Post
Order
Link copied to clipboard
fun
traversePostOrder
(
visit
:
Visitor
<
T
>
)
traverse
Pre
Order
Link copied to clipboard
fun
traversePreOrder
(
visit
:
Visitor
<
T
>
)