/libcore/luni/src/main/java/java/lang/ |
H A D | Iterable.java | 34 Iterator<T> iterator(); method in interface:Iterable
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldAbstractSetTest.java | 32 public Iterator iterator() { method in class:OldAbstractSetTest.Mock_AbstractSet 68 public Iterator iterator() {
|
/libcore/luni/src/main/java/java/util/ |
H A D | AbstractSequentialList.java | 43 Iterator<? extends E> colIt = collection.iterator(); 61 public Iterator<E> iterator() { method in class:AbstractSequentialList
|
H A D | AbstractCollection.java | 25 * iterator()} and {@code size()} to create an immutable collection. To create a 74 Iterator<? extends E> it = collection.iterator(); 86 * remove} method on each element. If the iterator does not support removal 93 * it the iterator does not support removing elements from 95 * @see #iterator 100 Iterator<E> it = iterator(); 112 * the iterator until the element is found. If {@code object == null} then 113 * each element {@code e} returned by the iterator is compared with the test 127 Iterator<E> it = iterator(); 147 * {@code Collection}. If one element returned by the iterator i 198 public abstract Iterator<E> iterator(); method in class:AbstractCollection [all...] |
H A D | Collection.java | 196 * returned by the iterator is not defined. Only if the instance of the 199 * @return an iterator for accessing the {@code Collection} contents. 201 public Iterator<E> iterator(); method in interface:Collection 284 * array in the same order as an iterator would return them. 302 * array in the same order as an iterator would return them.
|
H A D | Set.java | 124 * Returns an iterator on the elements of this set. The elements are 127 * @return an iterator on the elements of this set. 130 public Iterator<E> iterator(); method in interface:Set
|
H A D | HashSet.java | 160 public Iterator<E> iterator() { method in class:HashSet 161 return backingMap.keySet().iterator();
|
H A D | NavigableSet.java | 131 * Returns an iterator over the elements in this set, in ascending order. 133 * @return an iterator over the elements in this set, in ascending order 135 Iterator<E> iterator(); method in interface:NavigableSet 142 * through the iterator's own {@code remove} operation), the results of 155 * Returns an iterator over the elements in this set, in descending order. 156 * Equivalent in effect to {@code descendingSet().iterator()}. 158 * @return an iterator over the elements in this set, in descending order
|
H A D | ServiceLoader.java | 67 * iterator: construction of the iterator itself does not instantiate any of the providers. 97 * Returns an iterator over all the service providers offered by this service loader. 100 * <p>Each iterator will return new instances of the classes it iterates over, so callers 104 * <p>The returned iterator does not support {@code remove}. 106 public Iterator<S> iterator() { method in class:ServiceLoader
|
H A D | Deque.java | 530 * Returns an iterator over the elements in this deque in proper sequence. 533 * @return an iterator over the elements in this deque in proper sequence 535 Iterator<E> iterator(); method in interface:Deque 538 * Returns an iterator over the elements in this deque in reverse 542 * @return an iterator over the elements in this deque in reverse
|
H A D | HugeEnumSet.java | 241 public Iterator<E> iterator() { method in class:HugeEnumSet
|
H A D | List.java | 71 * the collection's iterator. 94 * collection's iterator. 195 * Returns an iterator on the elements of this {@code List}. The elements are 198 * @return an iterator on the elements of this {@code List}. 201 public Iterator<E> iterator(); method in interface:List 215 * Returns a {@code List} iterator on the elements of this {@code List}. The elements are 218 * @return a {@code List} iterator on the elements of this {@code List} 225 * Returns a list iterator on the elements of this {@code List}. The elements are 231 * @return a list iterator on the elements of this {@code List}.
|
H A D | MiniEnumSet.java | 92 public Iterator<E> iterator() { method in class:MiniEnumSet
|
H A D | TreeSet.java | 91 Iterator<E> it = set.iterator(); 216 public Iterator<E> iterator() { method in class:TreeSet 217 return backingMap.keySet().iterator(); 227 return descendingSet().iterator(); 478 Iterator<E> it = backingMap.keySet().iterator();
|
/libcore/luni/src/main/java/java/text/ |
H A D | CollationElementIterator.java | 40 * and 'e', the iterator returns two collation elements for the single character 50 * This constant is returned by the iterator in the methods 59 CollationElementIterator(CollationElementIteratorICU iterator) { argument 60 this.icuIterator = iterator; 143 * If the {@code RuleBasedCollator} used by this iterator has had its 144 * attributes changed, calling {@code reset()} reinitializes the iterator to 164 * Points the iterator at the collation element associated with the 170 * sequence that maps to a single collation element then the iterator is 176 * decomposable range of source text, the iterator may not return a correct 190 * Sets a new source string iterator fo [all...] |
H A D | BreakIterator.java | 52 * thinks of it as one character.) This iterator allows various processes 56 * </ul> {@code BreakIterator}'s interface follows an "iterator" model (hence 64 * <li>The current position of the iterator is always a boundary position 65 * (random- access methods move the iterator to the nearest boundary position 76 * <li>The client can change the position of an iterator, or the text it 78 * different behavior, he must instantiate a new iterator.</li> 91 * one break iterator for the whole document (or whatever stretch of text you're 210 * The iterator returned by {@code BreakIterator.getWordInstance()} is unique in 212 * the thing being iterated over. That is, a sentence-break iterator returns 214 * next. With the word-break iterator, th 245 BreakIterator(NativeBreakIterator iterator) argument [all...] |
H A D | RuleBasedBreakIterator.java | 30 RuleBasedBreakIterator(NativeBreakIterator iterator) { argument 31 super(iterator);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | HeapBufferIterator.java | 80 * Returns a new iterator over {@code buffer}, starting at {@code offset} and continuing for 83 public static BufferIterator iterator(byte[] buffer, int offset, int byteCount, ByteOrder order) { method in class:HeapBufferIterator
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | BreakIteratorTest.java | 24 BreakIterator iterator; field in class:BreakIteratorTest 29 iterator = BreakIterator.getCharacterInstance(Locale.US);
|
/libcore/luni/src/main/java/java/sql/ |
H A D | SQLException.java | 228 * Obsolete. {@link #getCause()} should be used instead of this iterator. Returns an iterator 231 public Iterator<Throwable> iterator() { method in class:SQLException
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArraySet.java | 119 * are returned by its iterator, this method must return the 151 * are returned by its iterator, this method must return the elements 294 * Returns an iterator over the elements contained in this set 297 * <p>The returned iterator provides a snapshot of the state of the set 298 * when the iterator was constructed. No synchronization is needed while 299 * traversing the iterator. The iterator does <em>NOT</em> support the 302 * @return an iterator over the elements in this set 304 public Iterator<E> iterator() { method in class:CopyOnWriteArraySet 305 return al.iterator(); [all...] |
H A D | BlockingDeque.java | 599 * Returns an iterator over the elements in this deque in proper sequence. 602 * @return an iterator over the elements in this deque in proper sequence 604 Iterator<E> iterator(); method in interface:BlockingDeque
|
H A D | DelayQueue.java | 31 * <p>This class and its iterator implement all of the 34 * #iterator()} is <em>not</em> guaranteed to traverse the elements of 470 for (Iterator<E> it = q.iterator(); it.hasNext(); ) { 482 * Returns an iterator over all the elements (both expired and 483 * unexpired) in this queue. The iterator does not return the 486 * <p>The returned iterator is a "weakly consistent" iterator that 489 * elements as they existed upon construction of the iterator, and 493 * @return an iterator over the elements in this queue 495 public Iterator<E> iterator() { method in class:DelayQueue [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Format.java | 79 * @param iterator 84 protected static Vector<FieldContainer> findFields(AttributedCharacterIterator iterator) { argument 86 while (iterator.getIndex() != iterator.getEndIndex()) { 87 int start = iterator.getRunStart(); 88 int end = iterator.getRunLimit(); 90 Iterator<Attribute> it = iterator.getAttributes().keySet().iterator(); 93 Object value = iterator.getAttribute(attribute); 100 iterator [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | AbstractQueueTest.java | 41 public Iterator<E> iterator() { method in class:AbstractQueueTest.MockAbstractQueue 150 Iterator iter = queue.iterator();
|