public void AddTransition(StringSearch.TreeNode node) { this._transHash.Add(node.Char, node); StringSearch.TreeNode[] array = new StringSearch.TreeNode[this._transHash.Values.Count]; this._transHash.Values.CopyTo(array, 0); this._transitionsAr = array; }
public TreeNode(StringSearch.TreeNode parent, char c) { this._char = c; this._parent = parent; this._results = new ArrayList(); this._resultsAr = new string[0]; this._transitionsAr = new StringSearch.TreeNode[0]; this._transHash = new Hashtable(); }