public class SortedAggregateCompleter extends Object implements jline.console.completer.Completer
Sorts aggregated completions.
Constructor and Description |
---|
SortedAggregateCompleter()
Default constructor.
|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
complete(String buffer,
int cursor,
List<CharSequence> candidates) |
Collection<jline.console.completer.Completer> |
getCompleters()
Retrieve the collection of completers currently being aggregated.
|
String |
toString() |
public SortedAggregateCompleter()
public SortedAggregateCompleter(Collection<jline.console.completer.Completer> completers)
completers
- the collection of completerspublic SortedAggregateCompleter(jline.console.completer.Completer... completers)
completers
- the completerspublic Collection<jline.console.completer.Completer> getCompleters()
public int complete(String buffer, int cursor, List<CharSequence> candidates)
complete
in interface jline.console.completer.Completer