Searched refs:enumeration (Results 1 - 15 of 15) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DHashtableTest.java237 assertTrue("Missing key from enumeration", elmVector.contains(s));
426 assertTrue("Missing key from enumeration", keyVector.contains(s));
831 Enumeration enumeration = hashTable.keys();
832 assertTrue(enumeration.hasMoreElements());
833 enumeration.nextElement();
834 assertFalse(enumeration.hasMoreElements());
836 enumeration = hashTable.elements();
837 assertTrue(enumeration.hasMoreElements());
838 enumeration.nextElement();
839 assertFalse(enumeration
[all...]
H A DCollectionsTest.java398 // java.util.Collections.enumeration(java.util.Collection)
401 Enumeration e = Collections.enumeration(ts);
404 assertEquals("Returned incorrect enumeration", e.nextElement(),
1242 Enumeration e = Collections.enumeration(ll);
/libcore/libart/src/main/java/java/lang/
H A DThreadGroup.java320 * Copies into <param>enumeration</param> starting at
328 * @param enumeration array into which the elements will be copied
330 * @param enumerationIndex Indicates in which position of the enumeration
336 private int enumerateGeneric(Object[] enumeration, boolean recurse, int enumerationIndex, argument
344 if (enumerationIndex >= enumeration.length) {
347 enumeration[enumerationIndex++] = thread;
354 if (enumerationIndex >= enumeration.length) {
357 enumeration[enumerationIndex++] = groups.get(i);
365 if (enumerationIndex >= enumeration.length) {
368 enumerationIndex = group.enumerateGeneric(enumeration, recurs
[all...]
H A DClassLoader.java155 * Returns an enumeration of URLs for the resource with the specified name.
159 * @return an enumeration of {@code URL} objects containing the requested
409 * Returns an enumeration of URLs for the resource with the specified name.
412 * URLs. The returned enumeration contains the {@code URL} objects of both
415 * @return an enumeration of {@code URL} objects for the requested resource.
551 * Finds an enumeration of URLs for the resource with the specified name.
557 * @return an enumeration of {@code URL} objects for the requested resource.
728 * first enumeration until it's empty, then from the second one.
792 return Collections.enumeration(VMClassLoader.getResources(resName));
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DmySSLSession.java159 Enumeration enumeration = table.keys();
160 while (enumeration.hasMoreElements()) {
161 vector.addElement(enumeration.nextElement());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
H A DJarFileTest.java306 Enumeration<JarEntry> enumeration = jarFile.entries();
309 enumeration.hasMoreElements();
315 enumeration = jarFile.entries();
318 enumeration.nextElement();
341 Enumeration<JarEntry> enumeration = jarFile.entries();
342 assertTrue(enumeration.hasMoreElements());
343 while (enumeration.hasMoreElements()) {
344 JarEntry je = enumeration.nextElement();
348 enumeration = jarFile.entries();
349 assertTrue(enumeration
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DNamespaceSupport.java115 * An empty enumeration.
117 private static final Enumeration EMPTY_ENUMERATION = Collections.enumeration(Collections.emptyList());
381 * Return an enumeration of all prefixes whose declarations are
387 * returned in this enumeration; check for the default prefix
390 * @return An enumeration of prefixes (never empty).
426 * Return an enumeration of all prefixes for a given URI whose
438 * in this enumeration; to check for the presence of a default
443 * @return An enumeration of prefixes (never empty).
457 return Collections.enumeration(prefixes);
462 * Return an enumeration o
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DZipFileTest.java162 Enumeration<? extends ZipEntry> enumeration = zfile.entries();
165 enumeration.nextElement();
171 enumeration.hasMoreElements();
/libcore/luni/src/main/java/java/net/
H A DNetworkInterface.java83 * Returns an enumeration of the addresses bound to this network interface.
86 return Collections.enumeration(addresses);
298 return Collections.enumeration(getNetworkInterfacesList());
407 * Returns an enumeration of all the sub-interfaces of this network interface.
416 return Collections.enumeration(children);
H A DURLClassLoader.java577 * @return the enumeration of URLs which point to the specified resource.
595 return Collections.enumeration(result);
/libcore/luni/src/main/java/java/sql/
H A DDriverManager.java267 return Collections.enumeration(result);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestKeyStoreSpi.java64 return Collections.enumeration(aliases.keySet());
/libcore/dalvik/src/main/java/dalvik/system/
H A DDexPathList.java354 * enumeration of them. If there are no resources with the given
355 * name, then this method returns an empty enumeration.
367 return Collections.enumeration(result);
/libcore/luni/src/main/java/java/util/
H A DCollections.java1547 public static <T> Enumeration<T> enumeration(Collection<T> collection) { method in class:Collections
2143 * enumeration}. The elements in the returned {@code ArrayList} are in the
2144 * same order as in the {@code enumeration}.
2146 * @param enumeration
2148 * @return an {@code ArrayList} from {@code enumeration}.
2150 public static <T> ArrayList<T> list(Enumeration<T> enumeration) { argument
2152 while (enumeration.hasMoreElements()) {
2153 list.add(enumeration.nextElement());
2429 * Returns an enumeration containing no elements.
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 552 milliseconds