Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 186) sorted by relevance

12345678

/libcore/luni/src/main/java/java/util/
DAbstractCollection.java74 Iterator<? extends E> it = collection.iterator(); in addAll()
100 Iterator<E> it = iterator(); in clear()
127 Iterator<E> it = iterator(); in contains()
165 Iterator<?> it = collection.iterator(); in containsAll()
198 public abstract Iterator<E> iterator(); in iterator()
225 Iterator<?> it = iterator(); in remove()
275 Iterator<?> it = iterator(); in removeAll()
316 Iterator<?> it = iterator(); in retainAll()
370 Iterator<?> it = iterator(); in toString()
DAbstractMap.java190 Iterator<Map.Entry<K, V>> it = entrySet().iterator(); in containsKey()
214 Iterator<Map.Entry<K, V>> it = entrySet().iterator(); in containsValue()
282 Iterator<Map.Entry<K, V>> it = entrySet().iterator(); in get()
309 Iterator<Map.Entry<K, V>> it = entrySet().iterator(); in hashCode()
342 @Override public Iterator<K> iterator() { in keySet()
343 return new Iterator<K>() { in keySet()
344 Iterator<Map.Entry<K, V>> setIterator = entrySet().iterator(); in keySet()
392 Iterator<Map.Entry<K, V>> it = entrySet().iterator(); in remove()
436 Iterator<Map.Entry<K, V>> it = entrySet().iterator(); in toString()
477 @Override public Iterator<V> iterator() { in values()
[all …]
DAbstractSet.java77 Iterator<?> it = iterator(); in hashCode()
100 Iterator<?> it = iterator(); in removeAll()
108 Iterator<?> it = collection.iterator(); in removeAll()
DDeque.java535 Iterator<E> iterator(); in iterator()
545 Iterator<E> descendingIterator(); in descendingIterator()
DNavigableSet.java135 Iterator<E> iterator(); in iterator()
160 Iterator<E> descendingIterator(); in descendingIterator()
DAbstractList.java37 private class SimpleListIterator implements Iterator<E> {
300 public Iterator<E> iterator() { in iterator()
449 Iterator<? extends E> it = collection.iterator(); in addAll()
491 Iterator<?> it1 = iterator(), it2 = list.iterator(); in equals()
525 Iterator<?> it = iterator(); in hashCode()
568 public Iterator<E> iterator() { in iterator()
655 Iterator<?> it = listIterator(start); in removeRange()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DAbstractCollectionTest.java23 import java.util.Iterator;
35 public Iterator<Object> iterator() { in test_addLjava_lang_Object()
67 public Iterator<String> iterator() { in test_addAllLjava_util_Collection()
96 public Iterator<String> iterator() { in test_containsAllLjava_util_Collection()
118 public Iterator<Object> iterator() { in test_isEmpty()
141 public Iterator<String> iterator() { in test_removeAllLjava_util_Collection()
142 return new Iterator<String>() { in test_removeAllLjava_util_Collection()
184 public Iterator<String> iterator() { in test_retainAllLjava_util_Collection()
185 return new Iterator<String>() { in test_retainAllLjava_util_Collection()
221 public Iterator<String> iterator() { in test_toArray()
[all …]
DConcurrentModificationExceptionTest.java22 import java.util.Iterator;
56 Iterator myIterator = myCollection.iterator(); in test_Constructor()
/libcore/luni/src/test/java/libcore/java/util/
DOldAbstractSetTest.java24 import java.util.Iterator;
32 public Iterator iterator() { in iterator()
33 return new Iterator() { in iterator()
68 public Iterator iterator() {
69 return new Iterator() {
DOldLinkedHashMapTest.java21 import java.util.Iterator;
35 Iterator iterator = map.keySet().iterator(); in testLinkedHashMap()
DServiceLoaderTest.java19 import java.util.Iterator;
33 Iterator<ServiceLoaderTestInterface> it = loader.iterator(); in test_implementations()
/libcore/luni/src/main/java/java/lang/
DIterable.java19 import java.util.Iterator;
34 Iterator<T> iterator(); in iterator()
/libcore/luni/src/main/java/libcore/util/
DCollectionUtils.java23 import java.util.Iterator;
39 public Iterator<T> iterator() { in dereferenceIterable()
40 return new Iterator<T>() { in dereferenceIterable()
41 private final Iterator<? extends Reference<T>> delegate = iterable.iterator(); in dereferenceIterable()
/libcore/luni/src/main/java/javax/xml/namespace/
DNamespaceContext.java22 import java.util.Iterator;
255 Iterator getPrefixes(String namespaceURI); in getPrefixes()
/libcore/luni/src/main/java/java/nio/charset/spi/
DCharsetProvider.java20 import java.util.Iterator;
37 public abstract Iterator<Charset> charsets(); in charsets()
/libcore/luni/src/main/java/java/security/cert/
DPolicyNode.java20 import java.util.Iterator;
37 public Iterator<? extends PolicyNode> getChildren(); in getChildren()
DCertificateFactorySpi.java22 import java.util.Iterator;
147 public Iterator<String> engineGetCertPathEncodings() { in engineGetCertPathEncodings()
DCertPath.java25 import java.util.Iterator;
119 for (Iterator<? extends Certificate> i=getCertificates().iterator(); i.hasNext(); n++) { in toString()
162 public abstract Iterator<String> getEncodings(); in getEncodings()
/libcore/luni/src/main/java/java/util/prefs/
DNodeSet.java4 import java.util.Iterator;
12 public NodeSet(Iterator<Node> nodes) { in NodeSet()
/libcore/luni/src/main/java/java/sql/
DSQLException.java21 import java.util.Iterator;
231 public Iterator<Throwable> iterator() { in iterator()
235 private static class InternalIterator implements Iterator<Throwable> {
/libcore/dom/src/test/java/org/w3c/domts/
DDOMErrorMonitor.java17 import java.util.Iterator;
58 Iterator iter = errors.iterator(); in assertLowerSeverity()
/libcore/luni/src/main/java/java/net/
DCookieStoreImpl.java22 import java.util.Iterator;
71 for (Iterator<HttpCookie> i = cookiesForUri.iterator(); i.hasNext(); ) { in get()
88 for (Iterator<HttpCookie> i = entryCookies.iterator(); i.hasNext(); ) { in get()
107 for (Iterator<HttpCookie> i = list.iterator(); i.hasNext(); ) { in getCookies()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertificateFactorySpi.java35 import java.util.Iterator;
104 Iterator<String> it = engineGetCertPathEncodings(); in engineGenerateCertPath()
133 public Iterator<String> engineGetCertPathEncodings() { in engineGetCertPathEncodings()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueueTest.java14 import java.util.Iterator;
27 public Iterator iterator() { return null; } // not needed in iterator()
38 public Iterator iterator() { return null; } // not needed in iterator()
/libcore/luni/src/test/java/tests/security/cert/
DX509CRLSelectorTest.java29 import java.util.Iterator;
122 public Iterator<Comparable> iterator() { in test_setIssuerNamesLjava_util_Collection01()

12345678