Пример #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;
 }