Skip to main content

abstract class FastIteratorBase<T>

A base class for FastIterator instances, that takes implements the default next function based on the abstract fastNext function.

Implements: FastIterator<T>

Extended by: ReducerFastIterator<T,R>, ArrayReverseIterator<T>, CollectIterator<T,R>, RandomIntIterator, PrependIterator<T>, FilterPureIterator<T,A>, IndexedIterator<T>, MapApplyIterator<T,A,R>, ZipAllWithItererator<I,F,R>, TransformerFastIterator<T,R>, FilterApplyIterator<T,A>, ArrayIterator<T>, RepeatIterator<T>, MapIterator<T,T2>, RangeDownIterator, DropWhileIterator<T>, RandomIterator, ZipWithIterator<I,R>, TakeIterator<T>, AlwaysIterator<T>, DropIterator<T>, MapPureIterator<T,A,T2>, ConcatIterator<T>, RangeUpIterator, FilterIterator<T>, AppendIterator<T>, UnfoldIterator<T>

Type parameters

NameDescription
Tundocumented

Methods

fastNext

undocumented

Definition

abstract fastNext<O>(otherwise?: OptLazy<O>): T | O;

Type parameters

NameDescription
O

Parameters

NameTypeDescription
otherwiseOptLazy<O>

Overrides

FastIterator.fastNext

next

undocumented

Definition

next(): IteratorResult<T>;

Overrides

FastIterator.next