public class SortedAggregateCompleter
Copied from jline AggregateCompleter sorts aggregated completions
| Modifiers | Name | Description |
|---|---|---|
private class |
SortedAggregateCompleter.Completion |
| Modifiers | Name | Description |
|---|---|---|
private java.util.List<jline.console.completer.Completer> |
completers |
| Constructor and description |
|---|
SortedAggregateCompleter
() |
SortedAggregateCompleter
(java.util.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(java.lang.String buffer, int cursor, java.util.List<java.lang.CharSequence> candidates)Perform a completion operation across all aggregated completers. |
|
public java.util.Collection<jline.console.completer.Completer> |
getCompleters()Retrieve the collection of completers currently being aggregated. |
|
public java.lang.String |
toString()
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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.