Class BinaryTreeNode
Constructors
constructor
-
Parameters
Properties
left
meta
nodeComparator
parent
right
value
value: any
Accessors
balanceFactor
- get balanceFactor(): number
-
Returns number
height
-
Returns number
leftHeight
-
Returns number
rightHeight
- get rightHeight(): number
-
Returns number
uncle
-
Methods
removeChild
-
Parameters
Returns boolean
replaceChild
-
Parameters
Returns boolean
setLeft
-
Parameters
setRight
-
Parameters
setValue
-
Parameters
toString
-
Returns string
traverseInOrder
-
Returns any[]
Static copyNode
-
Parameters
Returns void
Left child