public class StringsCompleter extends Object implements jline.console.completer.Completer
A completer that completes based on a collection of Strings
Constructor and description |
---|
StringsCompleter() |
StringsCompleter(Collection<String> strings) |
StringsCompleter(String strings) |
Type Params | Return Type | Name and description |
---|---|---|
|
public int |
complete(String buffer, int cursor, List<CharSequence> candidates) |
|
public SortedSet<String> |
getStrings() |
|
public void |
setStrings(SortedSet<String> strings) |