public interface SpellcheckQueryResult
| Modifier and Type | Interface and Description |
|---|---|
static class |
SpellcheckQueryResult.Alternative |
| Modifier and Type | Method and Description |
|---|---|
void |
addSuggestions(String term,
List<SpellcheckQueryResult.Alternative> suggestions) |
Collection<SpellcheckQueryResult.Alternative> |
getAlternatives()
Get all
SpellcheckQueryResult.Alternatives; |
Collection<SpellcheckQueryResult.Alternative> |
getAlternatives(String term)
Get the
SpellcheckQueryResult.Alternatives for a given term. |
Collection<String> |
getSuggestions()
Get all suggestions.
|
Collection<String> |
getSuggestions(String term)
Get the suggestions for a given term.
|
Collection<SpellcheckQueryResult.Alternative> getAlternatives()
SpellcheckQueryResult.Alternatives;Collection<SpellcheckQueryResult.Alternative> getAlternatives(String term)
SpellcheckQueryResult.Alternatives for a given term.term - must not be null.Collection<String> getSuggestions()
Collection<String> getSuggestions(String term)
term - must not be null.void addSuggestions(String term, List<SpellcheckQueryResult.Alternative> suggestions)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.