Lines Matching refs:names
27 * This <code>NameFactory</code> generates names that are read from a
38 private final List names;
46 * @param file the file from which the names can be read.
47 * @param nameFactory the name factory from which names will be retrieved
48 * if the list of read names has been exhausted.
53 this.names = new ArrayList();
81 // Add the completed name to the list of names, if it's
84 if (!names.contains(name))
86 names.add(name);
126 * @param nameFactory the name factory from which names will be
127 * retrieved if the list of read names has been
133 this.names = dictionaryNameFactory.names;
152 // Do we still have names?
153 if (index < names.size())
156 name = (String)names.get(index++);
165 while (names.contains(name));