code: public TrieBuilder<T> addAll(Map<String, T> map) {
          for (Entry<String, T> entry : map.entrySet()) {
              add(entry.getKey(), entry.getValue());
          }
          return this;
      }
docs: Add all word-value pairs from the given map to the Trie.
  Expects there not to be any previous mappings for any of the words.
  
  @param map Map to add word-value pairs from.
  @return {@code this}, for chaining.
  @throws IllegalStateException If this Trie already contained a mapping for any of the map's words (keys).