public static BiFunction < CharTrie , CharTrie , CharTrie > reducer ( BiFunction < TrieNode , TrieNode , TreeMap < Character , Long > > fn ) { return ( left , right ) -> left . reduce ( right , fn ) ; }
Reducer bi function .