Method SortKeys
SortKeys(JaspellTernarySearchTrie.TSTNode, Int32)
Returns keys sorted in alphabetical order. This includes the start Node and all nodes connected to the start Node.
The number of keys returned is limited to numReturnValues. To get a list that isn't limited in size, set numReturnValues to -1.
Declaration
protected virtual IList<string> SortKeys(JaspellTernarySearchTrie.TSTNode startNode, int numReturnValues)
Parameters
Type | Name | Description |
---|---|---|
JaspellTernarySearchTrie.TSTNode | startNode | The top node defining the subtrie to be searched. |
System.Int32 | numReturnValues | The maximum number of values returned from this method. |
Returns
Type | Description |
---|---|
IList<System.String> | A |