public class SortedAggregateCompleter extends Object implements jline.console.completer.Completer
Copied from jline AggregateCompleter sorts aggregated completions
Constructor and description |
---|
SortedAggregateCompleter() |
SortedAggregateCompleter(Collection<jline.console.completer.Completer> completers) Construct an AggregateCompleter with the given collection of completers. |
SortedAggregateCompleter(jline.console.completer.Completer completers) Construct an AggregateCompleter with the given completers. |
Type Params | Return Type | Name and description |
---|---|---|
|
public int |
complete(String buffer, int cursor, List<CharSequence> candidates) Perform a completion operation across all aggregated completers. |
|
public Collection<jline.console.completer.Completer> |
getCompleters() Retrieve the collection of completers currently being aggregated. |
|
public String |
toString()
|
Construct an AggregateCompleter with the given collection of completers. The completers will be used in the iteration order of the collection.
completers
- the collection of completersConstruct an AggregateCompleter with the given completers. The completers will be used in the order given.
completers
- the completersPerform a completion operation across all aggregated completers.
Retrieve the collection of completers currently being aggregated.