public TrieNode getContinuation ( char c ) { return ( ( Optional < TrieNode > ) getChild ( c ) ) . orElseGet ( ( ) -> { TrieNode godparent = godparent ( ) ; if ( null == godparent ) return null ; return godparent . getContinuation ( c ) ; } ) ; }
Gets continuation .