public interface TrieConstructor<TrieInfo>
Modifier and Type | Method and Description |
---|---|
void |
insert(java.lang.String word,
TrieInfo info)
Insert the info object into this trie using word as key.
|
void insert(java.lang.String word, TrieInfo info)
word
- Key string which is interpreted as a sequence
of code points.info
- Object to be stored at the given key, must not
be null.