Interface DeferredEnumerableSource<T>

Type Parameters:
T - the element type of the source
All Superinterfaces:
EnumerableSource<T>

public interface DeferredEnumerableSource<T> extends EnumerableSource<T>

Represents an unknown length, deferred iterable source which can be moved forward synchronously and obtain the current item via a simple call once it reports said iterable elements are ready to be consumed.

No hasNext and next duplication. C# IEnumerator is way better in this regard.

Since:
4.0.0
See Also: