Search
Preparing search index...
The search index is not available
typed-structures
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"collections/binary-tree/bts/binary-tree-search"
BinaryTreeSearch
Class BinaryTreeSearch<T>
Type parameters
T
Hierarchy
BinaryTreeSearch
Implements
IBinaryTree
<
T
>
Index
Constructors
constructor
Properties
_root
Methods
add
create
find
remove
root
Constructors
constructor
new
Binary
Tree
Search
(
)
:
BinaryTreeSearch
Returns
BinaryTreeSearch
Properties
Private
Optional
_root
_root
:
BNode
<
T
>
Methods
add
add
(
item
:
T
)
:
boolean
Parameters
item:
T
Returns
boolean
Private
create
create
(
item
:
T
)
:
BNode
<
T
>
Parameters
item:
T
Returns
BNode
<
T
>
find
find
(
root
:
BNode
<
T
>
, item
:
T
)
:
T
Parameters
root:
BNode
<
T
>
item:
T
Returns
T
remove
remove
(
item
:
T
)
:
boolean
Parameters
item:
T
Returns
boolean
root
root
(
)
:
BNode
<
T
>
Returns
BNode
<
T
>
Globals
"collections/binary-
tree/bts/binary-
tree-
search"
Binary
Tree
Search
constructor
_root
add
create
find
remove
root
Generated using
TypeDoc