Interface Cursor<K,V>
public interface Cursor<K,V>
A
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.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum -
Method Summary
-
Method Details
-
select
Called for eachMap.Entryin theTrie. ReturnCursor.Decision.EXITto finish theTrieoperation,Cursor.Decision.CONTINUEto go to the nextMap.Entry,Cursor.Decision.REMOVEto remove theMap.Entryand continue iterating orCursor.Decision.REMOVE_AND_EXITto remove theMap.Entryand stop iterating. Note: Not all operations supportCursor.Decision.REMOVE.
-