public TrieNode visitFirst ( Consumer < ? super TrieNode > visitor ) { visitor . accept ( this ) ; TrieNode refresh = refresh ( ) ; refresh . getChildren ( ) . forEach ( n -> n . visitFirst ( visitor ) ) ; return refresh ; }
Visit first trie node .