@Immutable @Beta public final class TrieNode extends Object
This class implements a trie node. It has two elements in it:
The children are indexed by the character they match (which means, in effect, that a trie node has no characters "belonging" to him, and the root node knows of all first characters there are to match).
public int search(String needle, boolean ignoreCase)