@Deprecated class SimpleCompletor extends Object implements Completer
Support for simple completors.
| Type | Name and description | 
|---|---|
SortedSet<String>  | 
                            candidates | 
                        
SortedSet<String>  | 
                            candidates | 
                        
boolean  | 
                            withBlank | 
                        
| 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) | 
                        
 | 
                            void | 
                            setWithBlank(boolean withBlank) | 
                        
A delimiter to use to qualify completions.
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.