Module java.base

Interface Gatherer.Downstream<T>

Type Parameters:
T - the type of elements this downstream accepts
Enclosing interface:
GathererPREVIEW<T,A,R>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Gatherer.Downstream<T>
Downstream is a preview API of the Java platform.
Programs can only use Downstream when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A Downstream object is the next stage in a pipeline of operations, to which elements can be sent.
Since:
22