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.java324 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_getEntryLjava_lang_String() local
325 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String()
326 while (enumeration.hasMoreElements()) { in test_getEntryLjava_lang_String()
327 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
331 enumeration = jarFile.entries(); in test_getEntryLjava_lang_String()
332 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String()
333 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
361 Enumeration<JarEntry> enumeration = jarFile.entries(); in test_getJarEntryLjava_lang_String() local
362 assertTrue(enumeration.hasMoreElements()); in test_getJarEntryLjava_lang_String()
363 while (enumeration.hasMoreElements()) { in test_getJarEntryLjava_lang_String()
[all …]
/libcore/luni/src/main/java/org/xml/sax/helpers/
DNamespaceSupport.java118 …private static final Enumeration EMPTY_ENUMERATION = Collections.enumeration(Collections.emptyList…
455 return Collections.enumeration(prefixes); in getPrefixes()
762 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.java225 return Collections.enumeration(childs); in getSubInterfaces()
387 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.java1369 return Collections.enumeration(VMClassLoader.getResources(resName)); in findResources()
/libcore/dalvik/src/main/java/dalvik/system/
DDexPathList.java584 return Collections.enumeration(result); in findResources()
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java783 signers = Collections.enumeration(map.keySet()); in entries2()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java156 …ic static <T> java.util.Enumeration<@libcore.util.NullFromTypeParam T> enumeration(@libcore.util.N… in enumeration() method in Collections