/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
|
/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 49 * must be called to reset the iterator. If a change of direction is done without one 55 * This constant is returned by the iterator in the methods 64 CollationElementIterator(CollationElementIteratorICU iterator) { argument 65 this.icuIterator = iterator; 137 * If the {@code RuleBasedCollator} used by this iterator has had its 138 * attributes changed, calling {@code reset()} reinitializes the iterator to 157 * Points the iterator at the collation element associated with the 163 * sequence that maps to a single collation element then the iterator is 169 * decomposable range of source text, the iterator ma [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/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | Support_Format.java | 77 * @param iterator 81 protected static Vector<FieldContainer> findFields(AttributedCharacterIterator iterator) { argument 83 while (iterator.getIndex() != iterator.getEndIndex()) { 84 int start = iterator.getRunStart(); 85 int end = iterator.getRunLimit(); 87 Iterator<Attribute> it = iterator.getAttributes().keySet().iterator(); 90 Object value = iterator.getAttribute(attribute); 97 iterator [all...] |
H A D | BreakIteratorTest.java | 31 BreakIterator iterator; field in class:BreakIteratorTest 38 iterator = BreakIterator.getCharacterInstance(Locale.US); 47 assertNotSame(newOne, iterator); 48 assertEquals(newOne, iterator); 51 assertEquals(newOne, iterator); 54 assertEquals(newOne, iterator); 57 assertFalse(wordIterator.equals(iterator)); 60 assertFalse(lineIterator.equals(iterator)); 63 assertFalse(senteIterator.equals(iterator)); 67 BreakIterator cloned = (BreakIterator) iterator [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | AbstractQueueTest.java | 27 public Iterator iterator() { return null; } // not needed method in class:AbstractQueueTest.Succeed 38 public Iterator iterator() { return null; } // not needed method in class:AbstractQueueTest.Fail
|
/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...] |
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractQueueTest.java | 41 public Iterator<E> iterator() { method in class:AbstractQueueTest.MockAbstractQueue 150 Iterator iter = queue.iterator();
|