Searched refs:iterator (Results 226 - 250 of 267) sorted by relevance

1234567891011

/libcore/ojluni/src/main/java/java/util/
H A DWeakHashMap.java104 * <p>The iterators returned by the <tt>iterator</tt> method of the collections
107 * iterator is created, in any way except through the iterator's own
108 * <tt>remove</tt> method, the iterator will throw a {@link
110 * modification, the iterator fails quickly and cleanly, rather than risking
113 * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed
841 * the iterator's own <tt>remove</tt> operation), the results of
855 public Iterator<K> iterator() { method in class:WeakHashMap.KeySet
890 * (except through the iterator's own <tt>remove</tt> operation),
904 public Iterator<V> iterator() { method in class:WeakHashMap.Values
945 public Iterator<Map.Entry<K,V>> iterator() { method in class:WeakHashMap.EntrySet
[all...]
H A DHashMap.java95 * the iterator is created, in any way except through the iterator's own
96 * <tt>remove</tt> method, the iterator will throw a
98 * modification, the iterator fails quickly and cleanly, rather than risking
102 * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed
1152 // Subclass overrides these to alter behavior of views' iterator() method
1173 * the iterator's own <tt>remove</tt> operation), the results of
1187 public Iterator<K> iterator() { method in class:HashMap.KeySet
1231 * (except through the iterator's own <tt>remove</tt> operation),
1245 public Iterator<V> iterator() { method in class:HashMap.Values
1308 public Iterator<Map.Entry<K,V>> iterator() { method in class:HashMap.EntrySet
[all...]
H A DPriorityQueue.java54 * <p>This class and its iterator implement all of the
57 * #iterator()} is <em>not</em> guaranteed to traverse the elements of
385 * Needed by iterator.remove.
478 * Returns an iterator over the elements in this queue. The iterator
481 * @return an iterator over the elements in this queue
483 public Iterator<E> iterator() { method in class:PriorityQueue
521 * The modCount value that the iterator believes that the backing
522 * Queue should have. If this expectation is violated, the iterator
608 * position before i. This fact is used by iterator
[all...]
H A DArrayList.java42 * <tt>iterator</tt>, and <tt>listIterator</tt> operations run in constant
75 * The iterators returned by this class's {@link #iterator() iterator} and
77 * if the list is structurally modified at any time after the iterator is
78 * created, in any way except through the iterator's own
80 * {@link ListIterator#add(Object) add} methods, the iterator will throw a
82 * concurrent modification, the iterator fails quickly and cleanly, rather
86 * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed
165 * iterator.
576 * specified collection's iterator
805 public Iterator<E> iterator() { method in class:ArrayList
1081 public Iterator<E> iterator() { method in class:ArrayList.SubList
[all...]
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestCase.java379 Iterator iter = expected.iterator();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DRefSortedMap.java111 public Iterator<java.util.Map.Entry<K, V>> iterator() {
/libcore/json/src/main/java/org/json/
H A DJSONObject.java89 * <li>show up in the {@link #keys} iterator
648 * Returns an iterator of the {@code String} names in this object. The
649 * returned iterator supports {@link Iterator#remove() remove}, which will
651 * modified after the iterator is returned, the iterator's behavior is
655 return nameValuePairs.keySet().iterator();
661 * the corresponding mapping from this object and set iterator behaviour
/libcore/ojluni/src/main/java/java/util/prefs/
H A DAbstractPreferences.java965 for (Iterator<AbstractPreferences> i = kidCache.values().iterator();
/libcore/ojluni/src/main/java/sun/net/www/
H A DMessageHeader.java268 Iterator entries = include.entrySet().iterator();
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
H A DFtpURLConnection.java235 Iterator<Proxy> it = sel.select(uri).iterator();
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DStreamTestScenario.java81 for (Iterator<U> seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); )
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DStreamTestScenario.java84 for (Iterator<U> seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); )
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DTestUtils.java288 return s.iterator();
/libcore/support/src/test/java/tests/http/
H A DMockWebServer.java199 for (Iterator<Socket> s = openClientSockets.iterator(); s.hasNext();) {
/libcore/dex/src/main/java/com/android/dex/
H A DDex.java977 public Iterator<ClassDef> iterator() { method in class:Dex.ClassDefIterable
979 ? Collections.<ClassDef>emptySet().iterator()
/libcore/jsr166-tests/src/test/java/jsr166/
H A DJSR166TestCase.java1740 assertFalse(q.iterator().hasNext());
1746 q.iterator().next();
/libcore/ojluni/src/main/java/java/util/logging/
H A DLogger.java1587 for (Iterator<LogManager.LoggerWeakRef> iter = parent.kids.iterator(); iter.hasNext(); ) {
1625 for (Iterator<LogManager.LoggerWeakRef> iter = kids.iterator(); iter.hasNext(); ) {
/libcore/ojluni/src/main/java/java/util/stream/
H A DCollectors.java1555 public Iterator<Map.Entry<Boolean, T>> iterator() {
1558 return Arrays.asList(falseEntry, trueEntry).iterator();
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DTabulatorsTest.java173 for (Iterator<T> it = stream.iterator(); it.hasNext(); ) // avoid capturing result::add
199 for (Iterator<T> it = stream.iterator(); it.hasNext(); ) // avoid capturing result::add
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentLinkedQueue.java46 * creation of the iterator. They do <em>not</em> throw {@link
49 * of the iterator will be returned exactly once.
59 * to be performed atomically. For example, an iterator operating
63 * <p>This class and its iterator implement all of the <em>optional</em>
217 * added in traversal order of the collection's iterator.
473 * collection's iterator. Attempts to {@code addAll} of a queue to
647 * Returns an iterator over the elements in this queue in proper sequence.
650 * <p>The returned iterator is
653 * @return an iterator over the elements in this queue in proper sequence
655 public Iterator<E> iterator() { method in class:ConcurrentLinkedQueue
[all...]
H A DLinkedBlockingQueue.java43 * <p>This class and its iterator implement all of the
241 * added in traversal order of the collection's iterator.
715 * Returns an iterator over the elements in this queue in proper sequence.
718 * <p>The returned iterator is
721 * @return an iterator over the elements in this queue in proper sequence
723 public Iterator<E> iterator() { method in class:LinkedBlockingQueue
729 * Basic weakly-consistent iterator. At all times hold the next
H A DPriorityBlockingQueue.java38 * <p>This class and its iterator implement all of the
41 * #iterator()} is <em>not</em> guaranteed to traverse the elements of
817 * Returns an iterator over the elements in this queue. The
818 * iterator does not return the elements in any particular order.
820 * <p>The returned iterator is
823 * @return an iterator over the elements in this queue
825 public Iterator<E> iterator() { method in class:PriorityBlockingQueue
830 * Snapshot iterator that works off copy of underlying q array.
H A DScheduledThreadPoolExecutor.java350 // Traverse snapshot to avoid iterator exceptions
1258 public Iterator<Runnable> iterator() { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
1263 * Snapshot iterator that works off copy of underlying q array.
H A DSynchronousQueue.java51 * <p>This class and its iterator implement all of the
1029 * Returns an empty iterator in which {@code hasNext} always returns
1032 * @return an empty iterator
1034 public Iterator<E> iterator() { method in class:SynchronousQueue
H A DThreadPoolExecutor.java1768 Iterator<Runnable> it = q.iterator();

Completed in 745 milliseconds

1234567891011