bsh.util
Class NameCompletionTable
public
class
NameCompletionTable
extends ArrayList
implements NameCompletion
NameCompletionTable is a utility that implements simple name completion for
a collection of names, NameSources, and other NameCompletionTables.
This implementation uses a trivial linear search and comparison...
Method Summary |
void | add(NameCompletionTable table)
Add a NameCompletionTable, which is more optimized than the more
general NameSource |
void | add(NameSource source)
Add a NameSource which is monitored for names.
|
String[] | completeName(String part) Unimplemented - need a collection here |
protected void | getMatchingNames(String part, List found)
Add any matching names to list (including any from other tables) |
public NameCompletionTable()
Add a NameCompletionTable, which is more optimized than the more
general NameSource
Add a NameSource which is monitored for names.
Unimplemented - behavior is broken... no updates
public String[] completeName(String part)
Unimplemented - need a collection here
protected void getMatchingNames(String part, List found)
Add any matching names to list (including any from other tables)
B) 2000 pat@pat.net :-)