Constructors
constructor
- new BinaryTreeNode<T>(id, val, count?): BinaryTreeNode<T>
-
Parameters
-
id: number
-
val: T
-
Optional
count: number
Properties
Protected
_count
_count: number = 1
Protected
_familyPosition
Protected
_height
_height: number = 0
Protected
_id
_id: number
Protected
Optional
_right
Accessors
count
- get count(): number
-
Returns number
- set count(v): void
-
Returns void
familyPosition
- get familyPosition(): FamilyPosition
-
- set familyPosition(v): void
-
Returns void
height
- get height(): number
-
Returns number
- set height(v): void
-
Returns void
id
- get id(): number
-
Returns number
- set id(v): void
-
Returns void
val
- get val(): T
-
Returns T
- set val(v): void
-
Returns void