Class MappedIterator<T, TT>
Constructors
constructor
- new MappedIterator(iterator: Iterator<T>, mapFunction: function): MappedIterator
-
Parameters
-
iterator: Iterator<T>
-
mapFunction: function
Methods
next
- next(): IteratorResult<TT>
-
Returns IteratorResult<TT>