java.lang.Object
io.smallrye.mutiny.groups.Gatherer.Builder<I>
- Type Parameters:
I- the type of the items emitted by the upstream
Builder for creating a
Gatherer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<ACC> Gatherer.InitialAccumulatorStep<I, ACC> Specifies the initial accumulator supplier.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
into
@CheckReturnValue public <ACC> Gatherer.InitialAccumulatorStep<I,ACC> into(Supplier<ACC> initialAccumulatorSupplier) Specifies the initial accumulator supplier.The initial accumulator supplier is used to create a new accumulator.
- Type Parameters:
ACC- the type of the accumulator- Parameters:
initialAccumulatorSupplier- the supplier for the initial accumulator- Returns:
- the next step in the builder
-