public class NameCompletionTable extends ArrayList implements NameCompletion
modCount
Constructor and Description |
---|
NameCompletionTable() |
Modifier and Type | Method and Description |
---|---|
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)
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(String part,
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
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public void add(NameCompletionTable table)
public void add(NameSource source)
protected void getMatchingNames(String part, List found)
public String[] completeName(String part)
NameCompletion
completeName
in interface NameCompletion
? 2000-2005 pat@pat.net :-)