class SimpleCompleter extends Object implements jline.console.completer.Completer
Support for simple completers.
Type | Name and description |
---|---|
SortedSet<String> |
candidates |
SortedSet<String> |
candidates |
boolean |
withBlank |
Constructor and description |
---|
SimpleCompleter(String[] candidates) |
SimpleCompleter() |
SimpleCompleter(Closure loader) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
add(String candidate) |
|
void |
addCandidateString(String string) |
|
int |
complete(String buffer, int cursor, List<CharSequence> clist) |
|
SortedSet<String> |
getCandidates() |
|
Object |
leftShift(String s) |
|
void |
setCandidateStrings(String[] strings) |
|
void |
setCandidates(SortedSet<String> candidates) |
|
void |
setWithBlank(boolean withBlank) |
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.