Property | Type | Description | |
---|---|---|---|
Children | TrieNode>.Dictionary | ||
Key | String |
Method | Description | |
---|---|---|
AddChild ( char c, |
Add child node
|
|
ContainsChildValue ( char letter ) : bool |
Check if node contains child for given letter
|
|
GetChild ( String wordOrPrefix ) : |
Get node for given word or prefix if exists
|
|
GetChild ( char letter ) : |
Get child node by letter
|
|
GetWord ( string word ) : |
Get node for given word if exists
|
|
ToString ( ) : String | ||
TrieNode ( String key ) : System |
Init node with the given key
|
public AddChild ( char c, |
||
c | char | Letter |
child | Node to add | |
return | bool |
public ContainsChildValue ( char letter ) : bool | ||
letter | char | |
return | bool |
public GetChild ( String wordOrPrefix ) : |
||
wordOrPrefix | String | |
return |