Skip to content
Permalink
1926427b32
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
20 lines (15 sloc) 419 Bytes
package org.omegat.core.dictionaries;
import java.util.HashMap;
/*
* Support class for Trie tree
* Also taken from: http://www.programcreek.com/2014/05/leetcode-implement-trie-prefix-tree-java/
*/
class TrieNode {
char c;
HashMap<Character, TrieNode> children = new HashMap<Character, TrieNode>();
boolean isLeaf;
public TrieNode() {}
public TrieNode(char c){
this.c = c;
}
}