This commit is contained in:
Looly
2020-12-16 00:15:52 +08:00
parent 873c5723e8
commit a5be41c6a7
5 changed files with 30 additions and 17 deletions

View File

@@ -98,6 +98,7 @@ public class WordTree extends HashMap<Character, WordTree> {
* 添加单词,使用默认类型
*
* @param word 单词
* @return this
*/
public WordTree addWord(String word) {
final Filter<Character> charFilter = this.charFilter;