Package org.htmlunit.corejs.javascript
Class IteratorLikeIterable.Itr
- java.lang.Object
-
- org.htmlunit.corejs.javascript.IteratorLikeIterable.Itr
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.Object>
- Enclosing class:
- IteratorLikeIterable
public final class IteratorLikeIterable.Itr extends java.lang.Object implements java.util.Iterator<java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description Itr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
boolean
isDone()
Find out if "hasNext" returned done without invoking the function again.java.lang.Object
next()
void
setDone(boolean done)
Manually set "done." Used for exception handling in promises.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<java.lang.Object>
-
next
public java.lang.Object next()
- Specified by:
next
in interfacejava.util.Iterator<java.lang.Object>
-
isDone
public boolean isDone()
Find out if "hasNext" returned done without invoking the function again.
-
setDone
public void setDone(boolean done)
Manually set "done." Used for exception handling in promises.
-
-