Preparing search index...
The search index is not available
data-structure-typed
data-structure-typed
BSTNode
Class BSTNode<T>
Type Parameters
T
Hierarchy
BinaryTreeNode
<
T
>
BSTNode
AVLTreeNode
Index
Constructors
constructor
Properties
_count
_family
Position
_height
_id
_left?
_parent
_right?
_val
Accessors
count
family
Position
height
id
left
parent
right
val
Methods
clone
swap
Location
Constructors
constructor
new BSTNode
<
T
>
(
id
,
val
,
count
?
)
:
BSTNode
<
T
>
Type Parameters
T
Parameters
id
:
number
val
:
T
Optional
count
:
number
Returns
BSTNode
<
T
>
Properties
Protected
_count
_count
:
number
= 1
Protected
_family
Position
_family
Position
:
FamilyPosition
= FamilyPosition.root
Protected
_height
_height
:
number
= 0
Protected
_id
_id
:
number
Protected
Optional
_left
_left
?:
null
|
BinaryTreeNode
<
T
>
Protected
_parent
_parent
:
undefined
|
null
|
BinaryTreeNode
<
T
>
Protected
Optional
_right
_right
?:
null
|
BinaryTreeNode
<
T
>
Protected
_val
_val
:
T
Accessors
count
get
count
(
)
:
number
Returns
number
set
count
(
v
)
:
void
Parameters
v
:
number
Returns
void
family
Position
get
familyPosition
(
)
:
FamilyPosition
Returns
FamilyPosition
set
familyPosition
(
v
)
:
void
Parameters
v
:
FamilyPosition
Returns
void
height
get
height
(
)
:
number
Returns
number
set
height
(
v
)
:
void
Parameters
v
:
number
Returns
void
id
get
id
(
)
:
number
Returns
number
set
id
(
v
)
:
void
Parameters
v
:
number
Returns
void
left
get
left
(
)
:
undefined
|
null
|
BinaryTreeNode
<
T
>
Returns
undefined
|
null
|
BinaryTreeNode
<
T
>
set
left
(
v
)
:
void
Parameters
v
:
undefined
|
null
|
BinaryTreeNode
<
T
>
Returns
void
parent
get
parent
(
)
:
undefined
|
null
|
BinaryTreeNode
<
T
>
Returns
undefined
|
null
|
BinaryTreeNode
<
T
>
set
parent
(
v
)
:
void
Parameters
v
:
undefined
|
null
|
BinaryTreeNode
<
T
>
Returns
void
right
get
right
(
)
:
undefined
|
null
|
BinaryTreeNode
<
T
>
Returns
undefined
|
null
|
BinaryTreeNode
<
T
>
set
right
(
v
)
:
void
Parameters
v
:
undefined
|
null
|
BinaryTreeNode
<
T
>
Returns
void
val
get
val
(
)
:
T
Returns
T
set
val
(
v
)
:
void
Parameters
v
:
T
Returns
void
Methods
clone
clone
(
)
:
BSTNode
<
T
>
Returns
BSTNode
<
T
>
swap
Location
swap
Location
(
swapNode
)
:
BinaryTreeNode
<
T
>
Parameters
swapNode
:
BinaryTreeNode
<
T
>
Returns
BinaryTreeNode
<
T
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_count
_family
Position
_height
_id
_left
_parent
_right
_val
count
family
Position
height
id
left
parent
right
val
clone
swap
Location
data-
structure-
typed
CP
Family
Position
Loop
Type
AVLTree
AVLTree
Node
Aa
Tree
Abstract
Edge
Abstract
Graph
Abstract
Vertex
Array
Deque
BST
BSTNode
BTree
Binary
Indexed
Tree
Binary
Tree
Binary
Tree
Node
Character
Coordinate
Map
Coordinate
Set
Deque
Directed
Edge
Directed
Graph
Directed
Vertex
Doubly
Linked
List
Doubly
Linked
List
Node
Heap
Matrix2D
MatrixNTI2D
Max
Heap
Max
Priority
Queue
Min
Heap
Min
Priority
Queue
Navigator
Object
Deque
Priority
Queue
Queue
RBTree
Segment
Tree
Segment
Tree
Node
Singly
Linked
List
Singly
Linked
List
Node
Splay
Tree
Stack
Tree
Multi
Set
Trie
Trie
Node
Two
Three
Tree
Undirected
Edge
Undirected
Graph
Undirected
Vertex
Vector2D
Generated using
TypeDoc