NameCompletion
, java.io.Serializable
, java.lang.Cloneable
, java.lang.Iterable
, java.util.Collection
, java.util.List
, java.util.RandomAccess
public class NameCompletionTable extends java.util.ArrayList implements NameCompletion
Constructor | Description |
---|---|
NameCompletionTable() |
Modifier and Type | Method | Description |
---|---|---|
void |
add(NameSource source) |
Add a NameSource which is monitored for names.
|
void |
add(NameCompletionTable table) |
Add a NameCompletionTable, which is more optimized than the more
general NameSource
|
java.lang.String[] |
completeName(java.lang.String part) |
Return an array containing a string element of the maximum
unambiguous namespace completion or, if there is no common prefix,
return the list of ambiguous names.
|
protected void |
getMatchingNames(java.lang.String part,
java.util.List found) |
Add any matching names to list (including any from other tables)
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public void add(NameCompletionTable table)
public void add(NameSource source)
protected void getMatchingNames(java.lang.String part, java.util.List found)
public java.lang.String[] completeName(java.lang.String part)
NameCompletion
completeName
in interface NameCompletion
? 2000-2005 pat@pat.net :-)