public final class IteratorLikeIterable.Itr
extends java.lang.Object
implements java.util.Iterator<java.lang.Object>
Constructor and Description |
---|
Itr() |
Modifier and Type | Method and 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.
|
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Object>
public java.lang.Object next()
next
in interface java.util.Iterator<java.lang.Object>
public boolean isDone()
public void setDone(boolean done)