Home
last modified time | relevance | path

Searched refs:enumeration (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/
DResourceBundleEnumeration.java41 Enumeration<String> enumeration; // may remain null field in ResourceBundleEnumeration
49 public ResourceBundleEnumeration(Set<String> set, Enumeration<String> enumeration) { in ResourceBundleEnumeration() argument
52 this.enumeration = enumeration; in ResourceBundleEnumeration()
61 } else if (enumeration != null) { in hasMoreElements()
62 while (next == null && enumeration.hasMoreElements()) { in hasMoreElements()
63 next = enumeration.nextElement(); in hasMoreElements()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DHashtableTest.java831 Enumeration enumeration = hashTable.keys(); in test_keys_elements_keySet_Exceptions() local
832 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 …]
DCollectionsTest.java402 Enumeration e = Collections.enumeration(ts); in test_enumerationLjava_util_Collection()
1244 Enumeration e = Collections.enumeration(ll); in test_listLjava_util_Enumeration()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DmySSLSession.java159 Enumeration enumeration = table.keys(); in getValueNames() local
160 while (enumeration.hasMoreElements()) { in getValueNames()
161 vector.addElement(enumeration.nextElement()); in getValueNames()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java321 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_getEntryLjava_lang_String() local
322 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String()
323 while (enumeration.hasMoreElements()) { in test_getEntryLjava_lang_String()
324 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
328 enumeration = jarFile.entries(); in test_getEntryLjava_lang_String()
329 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String()
330 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
358 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_getJarEntryLjava_lang_String() local
359 assertTrue(enumeration.hasMoreElements()); in test_getJarEntryLjava_lang_String()
360 while (enumeration.hasMoreElements()) { in test_getJarEntryLjava_lang_String()
[all …]
/libcore/luni/src/main/java/org/xml/sax/helpers/
DNamespaceSupport.java116 …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()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipFileTest.java167 Enumeration<? extends ZipEntry> enumeration = zfile.entries(); in test_entries() local
170 enumeration.nextElement(); in test_entries()
176 enumeration.hasMoreElements(); in test_entries()
/libcore/ojluni/src/main/java/java/security/
DUnresolvedPermissionCollection.java133 return Collections.enumeration(results); in elements()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java206 return Collections.enumeration(childs); in getSubInterfaces()
364 return Collections.enumeration(Arrays.asList(netifs)); in getNetworkInterfaces()
/libcore/ojluni/src/main/java/sun/security/x509/
DCRLExtensions.java220 return Collections.enumeration(map.values()); in getElements()
DCertificateExtensions.java256 return Collections.enumeration(map.values()); in getElements()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestKeyStoreSpi.java64 return Collections.enumeration(aliases.keySet()); in engineAliases()
/libcore/ojluni/src/main/java/java/lang/
DClassLoader.java1366 return Collections.enumeration(VMClassLoader.getResources(resName)); in findResources()
/libcore/dalvik/src/main/java/dalvik/system/
DDexPathList.java512 return Collections.enumeration(result); in findResources()
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java779 signers = Collections.enumeration(map.keySet()); in entries2()
/libcore/ojluni/src/main/java/java/util/
DCollections.java5253 public static <T> Enumeration<T> enumeration(final Collection<T> c) {