docs: public TrieNode matchPredictor(String search) {
      TrieNode cursor = matchEnd(search);
      if (cursor.getNumberOfChildren() > 0) {
        return cursor;
      }
      String string = cursor.getString();
      if (string.isEmpty()) return null;
      return matchPredictor(string.substring(1));
    }