Package autocomplete
Interface Autocomplete
- 
- All Known Implementing Classes:
 BinarySearchAutocomplete,SequentialSearchAutocomplete,TernarySearchTreeAutocomplete,TreeSetAutocomplete
public interface AutocompleteSuggest exact-character prefix matches for any queryCharSequence. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAll(Collection<? extends CharSequence> terms)Adds the given collection of autocompletion terms.List<CharSequence>allMatches(CharSequence prefix)Returns all autocompletion terms that match the given prefix. 
 - 
 
- 
- 
Method Detail
- 
addAll
void addAll(Collection<? extends CharSequence> terms)
Adds the given collection of autocompletion terms.- Parameters:
 terms- collection containing elements to be added.
 
- 
allMatches
List<CharSequence> allMatches(CharSequence prefix)
Returns all autocompletion terms that match the given prefix.- Parameters:
 prefix- search query.
 
 - 
 
 -