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