public class AggregateCompleter extends Object implements Completer
Constructor and Description |
---|
AggregateCompleter() |
AggregateCompleter(Collection<Completer> completers)
Construct an AggregateCompleter with the given collection of completers.
|
AggregateCompleter(Completer... completers)
Construct an AggregateCompleter with the given completers.
|
Modifier and Type | Method and Description |
---|---|
int |
complete(String buffer,
int cursor,
List<CharSequence> candidates)
Perform a completion operation across all aggregated completers.
|
Collection<Completer> |
getCompleters()
Retrieve the collection of completers currently being aggregated.
|
String |
toString() |
public AggregateCompleter()
public AggregateCompleter(Collection<Completer> completers)
completers
- the collection of completerspublic AggregateCompleter(Completer... completers)
completers
- the completerspublic Collection<Completer> getCompleters()
public int complete(String buffer, int cursor, List<CharSequence> candidates)
complete
in interface Completer
buffer
- The buffercursor
- The current position of the cursor in the buffercandidates
- The List
of candidates to populateCompleter.complete(String, int, java.util.List)
Copyright © 2017. All Rights Reserved.