Constructor and Description |
---|
Trie() |
Modifier and Type | Method and Description |
---|---|
TrieNode |
addValue(StringBuilder symbol,
TrieSymbolTable table,
int code) |
TrieNode |
addValue(String value,
TrieSymbolTable table,
int code) |
boolean |
equals(Object obj) |
Integer |
getEntry(String value,
TrieSymbolTable table) |
String |
getValue(TrieNode node,
TrieSymbolTable table) |
int |
hashCode() |
public Trie()
public TrieNode addValue(String value, TrieSymbolTable table, int code) throws SymbolException
SymbolException
public TrieNode addValue(StringBuilder symbol, TrieSymbolTable table, int code) throws SymbolException
SymbolException
public String getValue(TrieNode node, TrieSymbolTable table)
public Integer getEntry(String value, TrieSymbolTable table)
Copyright 2007-2014 Johan Hall, Jens Nilsson and Joakim Nivre.