public class StringsCompleter extends Object implements Completer
Constructor and Description |
---|
StringsCompleter() |
StringsCompleter(Collection<String> strings) |
StringsCompleter(String... strings) |
Modifier and Type | Method and Description |
---|---|
int |
complete(String buffer,
int cursor,
List<CharSequence> candidates)
Populates candidates with a list of possible completions for the buffer.
|
Collection<String> |
getStrings() |
public StringsCompleter()
public StringsCompleter(Collection<String> strings)
public StringsCompleter(String... strings)
public Collection<String> getStrings()
public int complete(String buffer, int cursor, List<CharSequence> candidates)
Completer
List
before returning.Copyright © 2017. All Rights Reserved.