Iterator

Moduleejs
Definitionfinal class Iterator
InheritanceIterator inherit Object

Iterator is a helper class to implement iterators.


Properties

QualifiersPropertyTypeDescription
No properties defined

Iterator Methods

QualifiersMethod
public next(): Object
 Return the next element in the object.

Method Detail

public next(): Object

Return the next element in the object.

Returns
An object.
Throws
StopIteration: