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