public CharTrie reverse ( ) { CharTrie result = new CharTrieIndex ( ) ; TreeMap < Character , ? extends TrieNode > childrenMap = root ( ) . getChildrenMap ( ) ; reverseSubtree ( childrenMap , result . root ( ) ) ; return result . recomputeCursorDetails ( ) ; }
Reverse char trie .