Searched defs:iterator (Results 1 - 25 of 55) sorted by relevance

123

/dalvik/libcore/luni/src/main/java/java/lang/
H A DIterable.java35 Iterator<T> iterator(); method in interface:Iterable
/dalvik/dx/src/com/android/dx/util/
H A DIntSet.java64 * @return non-null; a set iterator
66 IntIterator iterator(); method in interface:IntSet
H A DListIntSet.java95 IntIterator iter = other.iterator();
108 public IntIterator iterator() { method in class:ListIntSet
H A DBitIntSet.java87 IntIterator iter = other.iterator();
100 public IntIterator iterator() { method in class:BitIntSet
/dalvik/libcore/luni/src/main/java/java/util/
H A DAbstractSequentialList.java47 Iterator<? extends E> colIt = collection.iterator();
59 // modification NOT iterator modification.
78 public Iterator<E> iterator() { method in class:AbstractSequentialList
H A DAbstractCollection.java26 * iterator()} and {@code size()} to create an immutable collection. To create a
82 Iterator<? extends E> it = collection.iterator();
94 * remove} method on each element. If the iterator does not support removal
101 * when the iterator does not support removing elements from
103 * @see #iterator
109 Iterator<E> it = iterator();
121 * the iterator until the element is found. If {@code object == null} then
122 * each element {@code e} returned by the iterator is compared with the test
137 Iterator<E> it = iterator();
157 * {@code Collection}. If one element returned by the iterator i
211 public abstract Iterator<E> iterator(); method in class:AbstractCollection
[all...]
H A DCollection.java206 * returned by the iterator is not defined. Only if the instance of the
209 * @return an iterator for accessing the {@code Collection} contents.
212 public Iterator<E> iterator(); method in interface:Collection
299 * array in the same order as an iterator would return them.
318 * array in the same order as an iterator would return them.
H A DSet.java132 * Returns an iterator on the elements of this set. The elements are
135 * @return an iterator on the elements of this set.
139 public Iterator<E> iterator(); method in interface:Set
H A DHashSet.java173 public Iterator<E> iterator() { method in class:HashSet
174 return backingMap.keySet().iterator();
H A DHugeEnumSet.java243 public Iterator<E> iterator() { method in class:HugeEnumSet
H A DList.java75 * the collection's iterator.
99 * collection's iterator.
209 * Returns an iterator on the elements of this {@code List}. The elements are
212 * @return an iterator on the elements of this {@code List}.
216 public Iterator<E> iterator(); method in interface:List
231 * Returns a {@code List} iterator on the elements of this {@code List}. The elements are
234 * @return a {@code List} iterator on the elements of this {@code List}
242 * Returns a list iterator on the elements of this {@code List}. The elements are
248 * @return a list iterator on the elements of this {@code List}.
H A DMiniEnumSet.java94 public Iterator<E> iterator() { method in class:MiniEnumSet
H A DTreeSet.java94 Iterator<E> it = set.iterator();
267 public Iterator<E> iterator() { method in class:TreeSet
268 return backingMap.keySet().iterator();
385 Iterator<E> it = backingMap.keySet().iterator();
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
H A DAbstractSetTest.java38 public Iterator iterator() { method in class:AbstractSetTest.Mock_AbstractSet
100 public Iterator iterator() {
/dalvik/libcore/text/src/main/java/java/text/
H A DCollationElementIterator.java46 * and 'e', the iterator returns two collation elements for the single character
60 * This constant is returned by the iterator in the methods
71 CollationElementIterator(com.ibm.icu4jni.text.CollationElementIterator iterator) { argument
72 this.icuIterator = iterator;
160 * If the {@code RuleBasedCollator} used by this iterator has had its
161 * attributes changed, calling {@code reset()} reinitializes the iterator to
186 * Points the iterator at the collation element associated with the
192 * sequence that maps to a single collation element then the iterator is
199 * decomposable range of source text, the iterator may not return a correct
215 * Sets a new source string iterator fo
[all...]
H A DRuleBasedBreakIterator.java34 RuleBasedBreakIterator(com.ibm.icu4jni.text.BreakIterator iterator) { argument
35 super(iterator);
H A DBreakIterator.java63 * thinks of it as one character.) This iterator allows various processes
67 * </ul> {@code BreakIterator}'s interface follows an "iterator" model (hence
75 * <li>The current position of the iterator is always a boundary position
76 * (random- access methods move the iterator to the nearest boundary position
87 * <li>The client can change the position of an iterator, or the text it
89 * different behavior, he must instantiate a new iterator.</li>
103 * one break iterator for the whole document (or whatever stretch of text you're
230 * The iterator returned by {@code BreakIterator.getWordInstance()} is unique in
232 * the thing being iterated over. That is, a sentence-break iterator returns
234 * next. With the word-break iterator, th
293 BreakIterator(com.ibm.icu4jni.text.BreakIterator iterator) argument
[all...]
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DCopyOnWriteArraySet.java52 * Iterator it = handlers.iterator();
94 public Iterator<E> iterator() { return al.iterator(); } method in class:CopyOnWriteArraySet
H A DDelayQueue.java317 * Returns an iterator over the elements in this queue. The iterator
319 * returned iterator is a thread-safe "fast-fail" iterator that will
323 * @return an iterator over the elements in this queue.
325 public Iterator<E> iterator() { method in class:DelayQueue
329 return new Itr(q.iterator());
H A DPriorityBlockingQueue.java28 * <p>The Iterator provided in method {@link #iterator()} is
384 * Returns an iterator over the elements in this queue. The
385 * iterator does not return the elements in any particular order.
386 * The returned iterator is a thread-safe "fast-fail" iterator
391 * @return an iterator over the elements in this queue.
393 public Iterator<E> iterator() { method in class:PriorityBlockingQueue
397 return new Itr(q.iterator());
H A DArrayBlockingQueue.java112 * Utility for remove and iterator.remove: Delete item at position i.
171 * added in traversal order of the collection's iterator.
188 for (Iterator<? extends E> it = c.iterator(); it.hasNext();)
575 * Returns an iterator over the elements in this queue in proper sequence.
576 * The returned <tt>Iterator</tt> is a "weakly consistent" iterator that
579 * construction of the iterator, and may (but is not guaranteed to)
582 * @return an iterator over the elements in this queue in proper sequence.
584 public Iterator<E> iterator() { method in class:ArrayBlockingQueue
631 * only if this iterator passed across threads,
639 * Stops iterator whe
[all...]
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_Format.java79 * @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...]
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
H A DAbstractQueueTest.java33 public Iterator iterator() { return null; } // not needed method in class:AbstractQueueTest.Succeed
44 public Iterator iterator() { return null; } // not needed method in class:AbstractQueueTest.Fail
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DAbstractQueueTest.java47 public Iterator<E> iterator() { method in class:AbstractQueueTest.MockAbstractQueue
174 Iterator iter = queue.iterator();
/dalvik/libcore/auth/src/main/java/javax/security/auth/
H A DSubject.java437 Iterator<?> it = principals.iterator();
444 it = publicCredentials.iterator();
452 it = privateCredentials.iterator();
576 Iterator<? extends SST> it = s.iterator();
618 public Iterator<SST> iterator() { method in class:Subject.SecureSet
622 * private credential set requires iterator with additional
625 return new SecureIterator(elements.iterator()) {
632 SST obj = iterator.next();
639 return new SecureIterator(elements.iterator());
685 public Iterator<E> iterator() {
759 protected Iterator<SST> iterator; field in class:Subject.SecureSet.SecureIterator
761 SecureIterator(Iterator<SST> iterator) argument
[all...]

Completed in 493 milliseconds

123