Search
Preparing search index...
The search index is not available
tstruct
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Trie/Trie"
Trie
Class Trie
Hierarchy
Trie
Implements
ITrie
Index
Constructors
constructor
Properties
_map
Methods
_complete
add
complete
exists
find
Leaf
Constructors
constructor
new
Trie
(
)
:
Trie
Returns
Trie
Properties
Private
_map
_map
:
Map
<
string
,
TrieNode
>
Methods
Private
_complete
_complete
(
node
:
TrieNode
, word
?:
string
, result
?:
string
[]
)
:
void
Parameters
node:
TrieNode
Default value
word:
string
= ""
Default value
result:
string
[]
= []
Returns
void
add
add
(
word
:
string
)
:
void
Parameters
word:
string
Returns
void
complete
complete
(
word
:
string
)
:
string
[]
Parameters
word:
string
Returns
string
[]
exists
exists
(
word
:
string
)
:
boolean
Parameters
word:
string
Returns
boolean
Private
find
Leaf
find
Leaf
(
word
:
string
, map
?:
Map
<
string
,
TrieNode
>
)
:
TrieNode
|
undefined
Parameters
word:
string
Default value
map:
Map
<
string
,
TrieNode
>
= this._map
Returns
TrieNode
|
undefined
Globals
"
Binary
Tree/AVLTree"
"
Binary
Tree/
Binary
Search
Tree"
"
Binary
Tree/
Binary
Tree"
"
Common/
Common"
"
Compare
Function"
"
Graph/
Graph"
"
Heap/
Heap"
"
Linked
List/
Linked
List"
"
Queue/
Priority
Queue"
"
Queue/
Queue"
"
Sorting
Algorithms/
Sorting
Algorithms"
"
Stack/
Stack"
"
Trie/
Trie"
"
Union
Find/
Union
Find"
Trie
constructor
_map
_complete
add
complete
exists
find
Leaf
ITrie
Trie
Node
Generated using
TypeDoc