code: public List<T> getSuggestions(QueryToken queryToken) {
          String prefix = queryToken.getKeywords().toLowerCase();
          List<T> suggestions = new ArrayList<>();
          if (mData != null) {
              for (T suggestion : mData) {
                  String name = suggestion.getSuggestiblePrimaryText().toLowerCase();
                  if (name.startsWith(prefix)) {
                      suggestions.add(suggestion);
                  }
              }
          }
          return suggestions;
      }
docs: Returns a subset