Searched defs:iterator (Results 76 - 84 of 84) sorted by relevance

1234

/libcore/ojluni/src/main/java/java/util/concurrent/
H A DLinkedBlockingDeque.java66 * contains}, {@link #iterator iterator.remove()}, and the bulk
69 * <p>This class and its iterator implement all of the
189 * collection's iterator.
312 // an iterator.
989 * Returns an iterator over the elements in this deque in proper sequence.
992 * <p>The returned iterator is
995 * @return an iterator over the elements in this deque in proper sequence
997 public Iterator<E> iterator() { method in class:LinkedBlockingDeque
1002 * Returns an iterator ove
[all...]
H A DLinkedTransferQueue.java69 * to be performed atomically. For example, an iterator operating
73 * <p>This class and its iterator implement all of the
1231 * added in traversal order of the collection's iterator.
1401 * Returns an iterator over the elements in this queue in proper sequence.
1404 * <p>The returned iterator is
1407 * @return an iterator over the elements in this queue in proper sequence
1409 public Iterator<E> iterator() { method in class:LinkedTransferQueue
H A DScheduledThreadPoolExecutor.java379 // Traverse snapshot to avoid iterator exceptions
1287 public Iterator<Runnable> iterator() { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
1292 * Snapshot iterator that works off copy of underlying q array.
H A DSynchronousQueue.java80 * <p>This class and its iterator implement all of the
1058 * Returns an empty iterator in which {@code hasNext} always returns
1061 * @return an empty iterator
1063 public Iterator<E> iterator() { method in class:SynchronousQueue
H A DConcurrentSkipListMap.java100 * iterator operating concurrently with a {@code putAll} operation
1373 map.entrySet().iterator();
1456 * as the kind of iterator needed by buildFromSorted. (They
1804 * <p>The set's iterator returns the keys in ascending order.
1841 * <p>The collection's iterator returns the values in ascending order
1866 * <p>The set's iterator returns the entries in ascending key order. The
1883 * <p>The {@code Map.Entry} elements traversed by the {@code iterator}
2265 * Base of iterator classes:
2275 /** Initializes ascending iterator for entire range. */
2383 public Iterator<K> iterator() { method in class:ConcurrentSkipListMap.KeySet
2445 public Iterator<V> iterator() { method in class:ConcurrentSkipListMap.Values
2486 public Iterator<Map.Entry<K,V>> iterator() { method in class:ConcurrentSkipListMap.EntrySet
[all...]
H A DConcurrentHashMap.java99 * iterator/enumeration. They do <em>not</em> throw {@link
3334 * reachable upon iterator construction. It might miss some that
3440 * Traverser to support iterator.remove.
4457 * Returns an iterator over the elements in this collection.
4459 * <p>The returned iterator is
4462 * @return an iterator over the elements in this collection
4464 public abstract Iterator<E> iterator(); method in class:ConcurrentHashMap.CollectionView
4526 * its iterator, enclosed in square brackets ({@code "[]"}).
4536 Iterator<E> it = iterator();
4562 for (Iterator<E> it = iterator(); i
4633 public Iterator<K> iterator() { method in class:ConcurrentHashMap.KeySetView
4738 public final Iterator<V> iterator() { method in class:ConcurrentHashMap.ValuesView
4805 public Iterator<Map.Entry<K,V>> iterator() { method in class:ConcurrentHashMap.EntrySetView
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DHashMap.java104 * the iterator is created, in any way except through the iterator's own
105 * <tt>remove</tt> method, the iterator will throw a
107 * modification, the iterator fails quickly and cleanly, rather than risking
111 * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed
215 * iterator.remove. When using comparators on insertion, to keep a
894 * the iterator's own <tt>remove</tt> operation), the results of
916 public final Iterator<K> iterator() { return new KeyIterator(); } method in class:HashMap.KeySet
946 * (except through the iterator's own <tt>remove</tt> operation),
968 public final Iterator<V> iterator() { retur method in class:HashMap.Values
1014 public final Iterator<Map.Entry<K,V>> iterator() { method in class:HashMap.EntrySet
[all...]
H A DTreeMap.java72 * <p>The iterators returned by the {@code iterator} method of the collections
75 * the iterator is created, in any way except through the iterator's own
76 * {@code remove} method, the iterator will throw a {@link
78 * modification, the iterator fails quickly and cleanly, rather than risking
81 * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed
201 buildFromSorted(m.size(), m.entrySet().iterator(), null, null);
320 buildFromSorted(mapSize, map.entrySet().iterator(),
647 clone.buildFromSorted(size, entrySet().iterator(), null, null);
795 * <p>The set's iterator return
1031 public Iterator<V> iterator() { method in class:TreeMap.Values
1063 public Iterator<Map.Entry<K,V>> iterator() { method in class:TreeMap.EntrySet
1122 public Iterator<E> iterator() { method in class:TreeMap.KeySet
1925 public Iterator<Map.Entry<K,V>> iterator() { method in class:TreeMap.AscendingSubMap.AscendingEntrySetView
2018 public Iterator<Map.Entry<K,V>> iterator() { method in class:TreeMap.DescendingSubMap.DescendingEntrySetView
[all...]
H A DCollections.java145 * list-iterator does not support the {@code set} operation.
190 * list-iterator does not support the {@code set} operation.
233 * this method will do an iterator-based binary search that performs
334 * this method will do an iterator-based binary search that performs
413 * its list-iterator does not support the <tt>set</tt> operation.
461 * its list-iterator does not support the <tt>set</tt> operation.
493 * list-iterator does not support the <tt>set</tt> operation.
561 * list-iterator does not support the <tt>set</tt> operation.
593 * list-iterator does not support the <tt>set</tt> operation.
637 Iterator<? extends T> i = coll.iterator();
1079 public Iterator<E> iterator() { method in class:Collections.UnmodifiableCollection
1695 public Iterator<Map.Entry<K,V>> iterator() { method in class:Collections.UnmodifiableMap.UnmodifiableEntrySet
2074 public Iterator<E> iterator() { method in class:Collections.SynchronizedCollection
3114 public Iterator<E> iterator() { method in class:Collections.CheckedCollection
3796 public Iterator<Map.Entry<K,V>> iterator() { method in class:Collections.CheckedMap.CheckedEntrySet
4362 public Iterator<E> iterator() { return emptyIterator(); } method in class:Collections.EmptySet
4480 public Iterator<E> iterator() { method in class:Collections.EmptyList
4804 public Iterator<E> iterator() { method in class:Collections.SingletonSet
4853 public Iterator<E> iterator() { method in class:Collections.SingletonList
5510 public Iterator<E> iterator() { return s.iterator(); } method in class:Collections.SetFromMap
5589 public Iterator<E> iterator() { return q.iterator(); } method in class:Collections.AsLIFOQueue
[all...]

Completed in 142 milliseconds

1234