public static interface Trie.Automaton<K,V>
V
consume(K input)
boolean
isAcceptable()
V consume(K input)
boolean isAcceptable()
see also the complete user documentation .