public class AggregateCompleter extends java.lang.Object implements Completer
Constructor and Description |
---|
AggregateCompleter() |
AggregateCompleter(java.util.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(java.lang.String buffer,
int cursor,
java.util.List<java.lang.CharSequence> candidates)
Perform a completion operation across all aggregated completers.
|
java.util.Collection<Completer> |
getCompleters()
Retrieve the collection of completers currently being aggregated.
|
java.lang.String |
toString() |
public AggregateCompleter()
public AggregateCompleter(java.util.Collection<Completer> completers)
completers
- the collection of completerspublic AggregateCompleter(Completer... completers)
completers
- the completerspublic java.util.Collection<Completer> getCompleters()
public int complete(java.lang.String buffer, int cursor, java.util.List<java.lang.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)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018. All Rights Reserved.