java.lang.Object |
↳ |
com.pnfsoftware.jeb.util.interpreter.AutocompletionResult |
Class Overview
An object representing the result of an autocompletion request.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Fields
Public Constructors
public
AutocompletionResult
()
public
AutocompletionResult
(List<String> autocompletes)
public
AutocompletionResult
(char lastSeparator)
public
AutocompletionResult
(List<String> autocompletes, char lastSeparator)
Public Methods
public
boolean
add
(String entry)
public
void
addAll
(Collection<String> entries)
public
static
List<String>
filterStartsWith
(String text, List<String> toks)
public
List<String>
getAutocompletes
()
public
char
getLastSeparator
()
The last separator from where the autocompletion start. For example, when "this.foo.b" is
typed, the completion will stand on "b" and the last separator will be ".". The Default
separator is a single space.
public
String
toString
()