Searched defs:hasNext (Results 1 - 25 of 39) sorted by relevance

12

/libcore/luni/src/main/java/java/util/
H A DIterator.java24 * methods {@code next} and {@code hasNext()} may throw a {@code ConcurrentModificationException}.
40 public boolean hasNext(); method in interface:Iterator
48 * @see #hasNext
H A DListIterator.java48 public boolean hasNext(); method in interface:ListIterator
65 * @see #hasNext
H A DServiceLoader.java98 * Note that {@code hasNext} and {@code next} may throw if the configuration is invalid.
200 public boolean hasNext() { method in class:ServiceLoader.ServiceIterator
209 if (!hasNext()) {
H A DHugeEnumSet.java92 public boolean hasNext() { method in class:HugeEnumSet.HugeEnumSetIterator
H A DMiniEnumSet.java63 public boolean hasNext() { method in class:MiniEnumSet.MiniEnumSetIterator
H A DAbstractList.java48 public boolean hasNext() { method in class:AbstractList.SimpleListIterator
191 public boolean hasNext() { method in class:AbstractList.SubAbstractList.SubAbstractListIterator
450 while (it.hasNext()) {
492 while (it1.hasNext()) {
526 while (it.hasNext()) {
545 while (it.hasNext()) {
551 while (it.hasNext()) {
H A DArrayDeque.java597 public boolean hasNext() { method in class:ArrayDeque.DeqIterator
635 public boolean hasNext() { method in class:ArrayDeque.DescendingIterator
H A DArrayList.java565 public boolean hasNext() { method in class:ArrayList.ArrayListIterator
H A DEnumMap.java146 public boolean hasNext() { method in class:EnumMap.EnumMapIterator
158 if (!hasNext()) {
302 if (!hasNext()) {
732 while (iterator.hasNext()) {
767 while (iter.hasNext()) {
H A DLinkedHashMap.java340 public final boolean hasNext() { method in class:LinkedHashMap.LinkedHashIterator
H A DPriorityQueue.java279 public boolean hasNext() { method in class:PriorityQueue.PriorityIterator
284 if (!hasNext()) {
337 while (iter.hasNext()) {
H A DWeakHashMap.java129 public boolean hasNext() { method in class:WeakHashMap.HashIterator
155 if (hasNext()) {
H A DHashMap.java781 public boolean hasNext() { method in class:HashMap.HashIterator
H A DIdentityHashMap.java150 public boolean hasNext() { method in class:IdentityHashMap.IdentityHashMapIterator
170 if (!hasNext()) {
701 while (it.hasNext()) {
798 while (iterator.hasNext()) {
H A DLinkedList.java106 public boolean hasNext() { method in class:LinkedList.LinkIterator
204 public boolean hasNext() { method in class:LinkedList.ReverseLinkIterator
210 if (hasNext()) {
834 while (iter.hasNext()) {
971 while (it.hasNext()) {
/libcore/luni/src/main/java/java/sql/
H A DSQLException.java243 public boolean hasNext() { method in class:SQLException.InternalIterator
/libcore/luni/src/test/java/libcore/java/util/
H A DOldListIteratorTest.java38 assertTrue(l.hasNext());
41 assertFalse(l.hasNext());
64 public boolean hasNext() { method in class:OldListIteratorTest.Mock_ListIterator
143 while(l.hasNext()) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DAbstractSequentialListTest.java75 public boolean hasNext() { method in class:AbstractSequentialListTest.Mock_unsupportedListIterator
114 public boolean hasNext() { method in class:AbstractSequentialListTest.Mock_ListIterator
317 public boolean hasNext() {
432 public boolean hasNext() {
505 public boolean hasNext() {
/libcore/luni/src/main/java/java/util/concurrent/
H A DDelayQueue.java470 for (Iterator<E> it = q.iterator(); it.hasNext(); ) {
512 public boolean hasNext() { method in class:DelayQueue.Itr
H A DConcurrentLinkedQueue.java646 * that an element exists in hasNext(), we must return it in
648 * being removed when hasNext() was called.
699 public boolean hasNext() { method in class:ConcurrentLinkedQueue.Itr
H A DCopyOnWriteArrayList.java248 if (!i.hasNext() || !Objects.equal(o, i.next())) {
252 return !i.hasNext();
709 public boolean hasNext() { method in class:CopyOnWriteArrayList.CowIterator
H A DLinkedBlockingQueue.java753 * item to hand out so that if hasNext() reports true, we will
772 public boolean hasNext() { method in class:LinkedBlockingQueue.Itr
H A DPriorityBlockingQueue.java854 public boolean hasNext() { method in class:PriorityBlockingQueue.Itr
/libcore/luni/src/main/java/java/util/jar/
H A DStrictJarFile.java196 public boolean hasNext() { method in class:StrictJarFile.EntryIterator
219 while (entryIterator.hasNext()) {
/libcore/luni/src/main/java/javax/security/auth/
H A DSubject.java421 while (it.hasNext()) {
428 while (it.hasNext()) {
437 while (it.hasNext()) {
726 public boolean hasNext() { method in class:Subject.SecureSet.SecureIterator
727 return iterator.hasNext();

Completed in 3280 milliseconds

12