Searched refs:enumeration (Results 1 – 14 of 14) sorted by relevance
831 Enumeration enumeration = hashTable.keys(); in test_keys_elements_keySet_Exceptions() local832 assertTrue(enumeration.hasMoreElements()); in test_keys_elements_keySet_Exceptions()833 enumeration.nextElement(); in test_keys_elements_keySet_Exceptions()834 assertFalse(enumeration.hasMoreElements()); in test_keys_elements_keySet_Exceptions()836 enumeration = hashTable.elements(); in test_keys_elements_keySet_Exceptions()837 assertTrue(enumeration.hasMoreElements()); in test_keys_elements_keySet_Exceptions()838 enumeration.nextElement(); in test_keys_elements_keySet_Exceptions()839 assertFalse(enumeration.hasMoreElements()); in test_keys_elements_keySet_Exceptions()858 enumeration = hashTable.keys(); in test_keys_elements_keySet_Exceptions()859 assertTrue(enumeration.hasMoreElements()); in test_keys_elements_keySet_Exceptions()[all …]
401 Enumeration e = Collections.enumeration(ts); in test_enumerationLjava_util_Collection()1242 Enumeration e = Collections.enumeration(ll); in test_listLjava_util_Enumeration()
336 private int enumerateGeneric(Object[] enumeration, boolean recurse, int enumerationIndex, in enumerateGeneric() argument344 if (enumerationIndex >= enumeration.length) { in enumerateGeneric()347 enumeration[enumerationIndex++] = thread; in enumerateGeneric()354 if (enumerationIndex >= enumeration.length) { in enumerateGeneric()357 enumeration[enumerationIndex++] = groups.get(i); in enumerateGeneric()365 if (enumerationIndex >= enumeration.length) { in enumerateGeneric()368 enumerationIndex = group.enumerateGeneric(enumeration, recurse, in enumerateGeneric()
792 return Collections.enumeration(VMClassLoader.getResources(resName)); in findResources()
270 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_entries2() local273 enumeration.hasMoreElements(); in test_entries2()279 enumeration = jarFile.entries(); in test_entries2()282 enumeration.nextElement(); in test_entries2()305 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_getEntryLjava_lang_String() local306 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String()307 while (enumeration.hasMoreElements()) { in test_getEntryLjava_lang_String()308 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()312 enumeration = jarFile.entries(); in test_getEntryLjava_lang_String()313 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String()[all …]
159 Enumeration enumeration = table.keys(); in getValueNames() local160 while (enumeration.hasMoreElements()) { in getValueNames()161 vector.addElement(enumeration.nextElement()); in getValueNames()
116 …private static final Enumeration EMPTY_ENUMERATION = Collections.enumeration(Collections.emptyList…453 return Collections.enumeration(prefixes); in getPrefixes()755 return (declarations == null) ? EMPTY_ENUMERATION : Collections.enumeration(declarations); in getDeclaredPrefixes()
86 return Collections.enumeration(addresses); in getInetAddresses()298 return Collections.enumeration(getNetworkInterfacesList()); in getNetworkInterfaces()416 return Collections.enumeration(children); in getSubInterfaces()
595 return Collections.enumeration(result); in findResources()
162 Enumeration<? extends ZipEntry> enumeration = zfile.entries(); in test_entries() local165 enumeration.nextElement(); in test_entries()171 enumeration.hasMoreElements(); in test_entries()
267 return Collections.enumeration(result); in getDrivers()
64 return Collections.enumeration(aliases.keySet()); in engineAliases()
367 return Collections.enumeration(result); in findResources()
1547 public static <T> Enumeration<T> enumeration(Collection<T> collection) {2150 public static <T> ArrayList<T> list(Enumeration<T> enumeration) {2152 while (enumeration.hasMoreElements()) {2153 list.add(enumeration.nextElement());