Method GetNode
GetNode(String)
Returns the node indexed by key, or null
if that node doesn't
exist. Search begins at root node.
Declaration
public virtual JaspellTernarySearchTrie.TSTNode GetNode(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | A |
Returns
Type | Description |
---|---|
JaspellTernarySearchTrie.TSTNode | The node object indexed by key. This object is an instance of an inner class named JaspellTernarySearchTrie.TSTNode. |
GetNode(String, JaspellTernarySearchTrie.TSTNode)
Returns the node indexed by key, or null
if that node doesn't
exist. The search begins at root node.
Declaration
protected virtual JaspellTernarySearchTrie.TSTNode GetNode(string key, JaspellTernarySearchTrie.TSTNode startNode)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | A |
JaspellTernarySearchTrie.TSTNode | startNode | The top node defining the subtrie to be searched. |
Returns
Type | Description |
---|---|
JaspellTernarySearchTrie.TSTNode | The node object indexed by key. This object is an instance of an inner class named JaspellTernarySearchTrie.TSTNode. |