E1 - the type of elements in the input streamE2 - the type of elements in the output streampublic interface Generator<E1,E2>
Streamstatic final Iteration iteration
E2 yield(E1 element) throws StreamSkipSignal, StreamStopSignal
element - the input elementStreamSkipSignal - if no element should be yielded from the input element (i.e. the element should
not contribute to the output stream)StreamStopSignal - if no further element should be yieldedRuntimeException - if no element can be yielded from the input elementCopyright © 2016. All Rights Reserved.