Example #1
0
 private void WordFinished()
 {
     this.startingNode.WordCount++;
     this.startingNode = this.rootNode;
 }
Example #2
0
 public WordCounter(IFileReader fileReader, TrieNode rootTrieNode)
 {
     this.startingNode = rootTrieNode;
     this.rootNode     = rootTrieNode;
     this.fileReader   = fileReader;
 }