- Type Parameters:
T
- the generic type
- All Known Implementing Classes:
ConcurrentBufferedGeneratorDecorator
,ThreadLocalBufferedGeneratorDecorator
Base interface for a
Generator
using a buffer being filled upon
demand or time schedule and which's buffering functionality may be suspended
(Suspendable.suspend()
) so that the Generator
does only emit elements
already present in the puffer till all elements in the buffer are expended
(and does not place any new elements into the buffer to be emitted).-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
Methods inherited from interface org.refcodes.mixin.Suspendable
suspend