@Override
    @NonNull
    public List<Suggestible> buildSuggestions(final @NonNull Map<String, SuggestionsResult> latestResults,
                                              final @NonNull String currentTokenString) {
        List<Suggestible> results = new ArrayList<Suggestible>();
        for (Map.Entry<String, SuggestionsResult> entry : latestResults.entrySet()) {
            SuggestionsResult result = entry.getValue();
            if (currentTokenString.equalsIgnoreCase(result.getQueryToken().getTokenString())) {
                results.addAll(result.getSuggestions());
            }
        }
        return results;
    }
@Override
    @NonNull
    public List<Suggestible> buildSuggestions(final @NonNull Map<String, SuggestionsResult> latestResults,
                                              final @NonNull String currentTokenString) {
        List<Suggestible> results = new ArrayList<Suggestible>();
        for (Map.Entry<String, SuggestionsResult> entry : latestResults.entrySet()) {
            SuggestionsResult result = entry.getValue();
            if (currentTokenString.equalsIgnoreCase(result.getQueryToken().getTokenString())) {
                results.addAll(result.getSuggestions());
            }
        }
        return results;
    }
@ Override @ NonNull public List < Suggestible > buildSuggestions ( final @ NonNull Map < String , SuggestionsResult > latestResults , final @ NonNull String currentTokenString ) { List < Suggestible > results = new ArrayList < Suggestible > ( ) ; for ( Map . Entry < String , SuggestionsResult > entry : latestResults . entrySet ( ) ) { SuggestionsResult result = entry . getValue ( ) ; if ( currentTokenString . equalsIgnoreCase ( result . getQueryToken ( ) . getTokenString ( ) ) ) { results . addAll ( result . getSuggestions ( ) ) ; } } return results ; }
{@inheritDoc}
{