Package org.mozilla.javascript
Class IteratorLikeIterable.Itr
- java.lang.Object
- 
- org.mozilla.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 SummaryConstructors Constructor Description Itr()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()booleanisDone()Find out if "hasNext" returned done without invoking the function again.java.lang.Objectnext()voidsetDone(boolean done)Manually set "done." Used for exception handling in promises.
 
- 
- 
- 
Method Detail- 
hasNextpublic boolean hasNext() - Specified by:
- hasNextin interface- java.util.Iterator<java.lang.Object>
 
 - 
nextpublic java.lang.Object next() - Specified by:
- nextin interface- java.util.Iterator<java.lang.Object>
 
 - 
isDonepublic boolean isDone() Find out if "hasNext" returned done without invoking the function again.
 - 
setDonepublic void setDone(boolean done) Manually set "done." Used for exception handling in promises.
 
- 
 
-