Home
last modified time | relevance | path

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

12345678910>>...14

/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 …]
/libcore/ojluni/src/main/java/java/util/
DAbstractCollection.java76 public abstract Iterator<E> iterator(); in iterator()
99 Iterator<E> it = iterator(); in contains()
137 Iterator<E> it = iterator(); in toArray()
180 Iterator<E> it = iterator(); in toArray()
221 private static <T> T[] finishToArray(T[] r, Iterator<?> it) { in finishToArray()
282 Iterator<E> it = iterator(); in remove()
373 Iterator<?> it = iterator(); in removeAll()
407 Iterator<E> it = iterator(); in retainAll()
433 Iterator<E> it = iterator(); in clear()
454 Iterator<E> it = iterator(); in toString()
DAbstractMap.java112 Iterator<Entry<K,V>> i = entrySet().iterator(); in containsValue()
144 Iterator<Map.Entry<K,V>> i = entrySet().iterator(); in containsKey()
176 Iterator<Entry<K,V>> i = entrySet().iterator(); in get()
235 Iterator<Entry<K,V>> i = entrySet().iterator(); in remove()
350 public Iterator<K> iterator() { in keySet()
351 return new Iterator<K>() { in keySet()
352 private Iterator<Entry<K,V>> i = entrySet().iterator(); in keySet()
409 public Iterator<V> iterator() { in values()
410 return new Iterator<V>() { in values()
411 private Iterator<Entry<K,V>> i = entrySet().iterator(); in values()
[all …]
DAbstractSet.java122 Iterator<E> i = iterator(); in hashCode()
173 for (Iterator<?> i = c.iterator(); i.hasNext(); ) in removeAll()
176 for (Iterator<?> i = iterator(); i.hasNext(); ) { in removeAll()
DServiceLoader.java36 import java.util.Iterator;
298 private Iterator<String> parse(Class<?> service, URL u) in parse()
325 implements Iterator<S>
331 Iterator<String> pending = null;
479 public Iterator<S> iterator() { in iterator()
480 return new Iterator<S>() { in iterator()
482 Iterator<Map.Entry<String,S>> knownProviders in iterator()
/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() {
/libcore/ojluni/src/main/java/sun/net/
DProgressMonitor.java29 import java.util.Iterator;
71 … for (Iterator<ProgressSource> iter = progressSourceList.iterator(); iter.hasNext();) { in getProgressSources()
121 … for (Iterator<ProgressListener> iter = progressListenerList.iterator(); iter.hasNext();) { in registerSource()
127 for (Iterator<ProgressListener> iter = listeners.iterator(); iter.hasNext();) { in registerSource()
158 … for (Iterator<ProgressListener> iter = progressListenerList.iterator(); iter.hasNext();) { in unregisterSource()
164 for (Iterator<ProgressListener> iter = listeners.iterator(); iter.hasNext();) { in unregisterSource()
190 … for (Iterator<ProgressListener> iter = progressListenerList.iterator(); iter.hasNext();) { in updateProgress()
196 for (Iterator<ProgressListener> iter = listeners.iterator(); iter.hasNext();) { in updateProgress()
/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/ojluni/src/main/java/sun/nio/fs/
DUnixDirectoryStream.java29 import java.util.Iterator;
62 private Iterator<Path> iterator;
124 protected final Iterator<Path> iterator(DirectoryStream<Path> ds) { in iterator()
137 public Iterator<Path> iterator() { in iterator()
144 private class UnixDirectoryIterator implements Iterator<Path> {
DAbstractPath.java31 import java.util.Iterator;
70 public final Iterator<Path> iterator() { in iterator()
71 return new Iterator<Path>() { in iterator()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DConcurrentSkipListSetTest.java25 import java.util.Iterator;
70 Iterator it = set.iterator(); in testClone()
71 Iterator itOfClone = setClone.iterator(); in testClone()
86 Iterator it = set.descendingIterator(); in testDescendingIterator()
/libcore/luni/src/main/java/javax/xml/namespace/
DNamespaceContext.java22 import java.util.Iterator;
255 Iterator getPrefixes(String namespaceURI); in getPrefixes()
/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java857 Iterator<Principal> pI = principals.iterator();
866 Iterator<Object> pI = pubCredentials.iterator();
877 Iterator<Object> pI = privCredentials.iterator();
922 Iterator<Principal> pIterator = principals.iterator();
930 Iterator<Object> pubCIterator = pubCredentials.iterator();
1047 public Iterator<E> iterator() {
1049 return new Iterator<E>() {
1142 final Iterator<E> e = iterator();
1170 final Iterator<E> e = iterator();
1211 final Iterator<E> e = iterator();
[all …]
/libcore/ojluni/src/main/java/java/security/cert/
DPolicyNode.java28 import java.util.Iterator;
84 Iterator<? extends PolicyNode> getChildren(); in getChildren()
DCertPath.java32 import java.util.Iterator;
161 public abstract Iterator<String> getEncodings(); in getEncodings()
224 Iterator<? extends Certificate> stringIterator = in toString()
/libcore/ojluni/src/main/java/java/nio/file/
DDirectoryStream.java28 import java.util.Iterator;
158 Iterator<T> iterator(); in iterator()
/libcore/ojluni/src/main/java/java/nio/charset/spi/
DCharsetProvider.java29 import java.util.Iterator;
95 public abstract Iterator<Charset> charsets(); in charsets()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DIterable.annotated.java27 import java.util.Iterator;
35 public @NonNull Iterator<@NullFromTypeParam T> iterator(); in iterator()
/libcore/ojluni/src/main/java/java/lang/
DIterable.java27 import java.util.Iterator;
51 Iterator<T> iterator(); in iterator()
DProcessEnvironment.java328 public Iterator<Map.Entry<String,String>> iterator() { in iterator()
329 return new Iterator<Map.Entry<String,String>>() { in iterator()
330 Iterator<Map.Entry<Variable,Value>> i = s.iterator(); in iterator()
370 public Iterator<String> iterator() {
371 return new Iterator<String>() {
372 Iterator<Value> i = c.iterator();
397 public Iterator<String> iterator() {
398 return new Iterator<String>() {
399 Iterator<Variable> i = s.iterator();
/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/luni/src/test/java/libcore/java/nio/charset/
DSettableCharsetProvider.java21 import java.util.Iterator;
41 public Iterator<Charset> charsets() { in charsets()
/libcore/ojluni/src/main/java/java/util/stream/
DBaseStream.java31 import java.util.Iterator;
74 Iterator<T> iterator(); in iterator()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMErrorMonitor.java17 import java.util.Iterator;
58 Iterator iter = errors.iterator(); in assertLowerSeverity()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java40 import java.util.Iterator;
358 private static Iterator<CharsetProvider> providers() { in providers()
359 return new Iterator<CharsetProvider>() { in providers()
363 Iterator<CharsetProvider> i = sl.iterator(); in providers()
429 for (Iterator<CharsetProvider> i = providers(); in lookupViaProviders()
590 private static void put(Iterator<Charset> i, Map<String,Charset> m) {
637 for (Iterator i = providers(); i.hasNext();) {

12345678910>>...14