/libcore/ojluni/src/main/java/java/util/ |
H A D | WeakHashMap.java | 104 * <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 D | HashMap.java | 95 * 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 D | PriorityQueue.java | 54 * <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 D | ArrayList.java | 42 * <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 D | DOMTestCase.java | 379 Iterator iter = expected.iterator();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | RefSortedMap.java | 111 public Iterator<java.util.Map.Entry<K, V>> iterator() {
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONObject.java | 89 * <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 D | AbstractPreferences.java | 965 for (Iterator<AbstractPreferences> i = kidCache.values().iterator();
|
/libcore/ojluni/src/main/java/sun/net/www/ |
H A D | MessageHeader.java | 268 Iterator entries = include.entrySet().iterator();
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
H A D | FtpURLConnection.java | 235 Iterator<Proxy> it = sel.select(uri).iterator();
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
H A D | StreamTestScenario.java | 81 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 D | StreamTestScenario.java | 84 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 D | TestUtils.java | 288 return s.iterator();
|
/libcore/support/src/test/java/tests/http/ |
H A D | MockWebServer.java | 199 for (Iterator<Socket> s = openClientSockets.iterator(); s.hasNext();) {
|
/libcore/dex/src/main/java/com/android/dex/ |
H A D | Dex.java | 977 public Iterator<ClassDef> iterator() { method in class:Dex.ClassDefIterable 979 ? Collections.<ClassDef>emptySet().iterator()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | JSR166TestCase.java | 1740 assertFalse(q.iterator().hasNext()); 1746 q.iterator().next();
|
/libcore/ojluni/src/main/java/java/util/logging/ |
H A D | Logger.java | 1587 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 D | Collectors.java | 1555 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 D | TabulatorsTest.java | 173 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 D | ConcurrentLinkedQueue.java | 46 * 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 D | LinkedBlockingQueue.java | 43 * <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 D | PriorityBlockingQueue.java | 38 * <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 D | ScheduledThreadPoolExecutor.java | 350 // 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 D | SynchronousQueue.java | 51 * <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 D | ThreadPoolExecutor.java | 1768 Iterator<Runnable> it = q.iterator();
|