Interface InitProducer<R,S>

Type Parameters:
R - the type of the delivered value
S - the acted-upon type
All Superinterfaces:
Producer<R,S>

public interface InitProducer<R,S> extends Producer<R,S>
Subinterface which provides an initial state, on which the very first call to Producer.produce(S) can be executed.
  • Method Details

    • getInitialState

      S getInitialState()
    • unfold

      default List<R> unfold()