code: public <T extends Comparable<T>> Stream<TrieNode> max(Function<TrieNode, T> fn, int maxResults) {
      return max(fn, maxResults, root());
    }
docs: Max stream.
  
  @param <T>        the type parameter
  @param fn         the fn
  @param maxResults the max results
  @return the stream