public interface Cursor<K,V>
Cursor can be used to traverse a Trie, visit each node
 step by step and make Cursor.Decisions on each step how to continue with
 traversing the Trie.| Modifier and Type | Interface and Description | 
|---|---|
| static class  | Cursor.Decision | 
| Modifier and Type | Method and Description | 
|---|---|
| Cursor.Decision | select(java.util.Map.Entry<? extends K,? extends V> entry)Called for each  Map.Entryin theTrie. | 
Cursor.Decision select(java.util.Map.Entry<? extends K,? extends V> entry)
Map.Entry in the Trie. Return
 Cursor.Decision.EXIT to finish the Trie operation,
 Cursor.Decision.CONTINUE to go to the next Map.Entry,
 Cursor.Decision.REMOVE to remove the Map.Entry and
 continue iterating or Cursor.Decision.REMOVE_AND_EXIT to
 remove the Map.Entry and stop iterating.
 Note: Not all operations support Cursor.Decision.REMOVE.Copyright © 2018 The Apache Software Foundation