class SimpleCompletor
Support for simple completors.
Type | Name and description |
---|---|
SortedSet<String> |
candidates |
String |
delimiter A delimiter to use to qualify completions. |
Constructor and description |
---|
SimpleCompletor
(String[] candidates) |
SimpleCompletor
() |
SimpleCompletor
(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) |
A delimiter to use to qualify completions.
Copyright © 2003-2019 The Apache Software Foundation. All rights reserved.