Package akka.stream.javadsl
Class SubFlow$
- java.lang.Object
-
- akka.stream.javadsl.SubFlow$
-
- Type Parameters:
SuperOut
- a supertype to the type of element flowing out of the flow
public class SubFlow$ extends java.lang.Object
Upcast a stream of elements to a stream of supertypes of that element. Useful in combination with fan-in operators where you do not want to pay the cost of casting each element in amap
.
-
-
Constructor Summary
Constructors Constructor Description SubFlow$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <In,SuperOut,Out extends SuperOut,M>
SubFlow<In,SuperOut,M>upcast(SubFlow<In,Out,M> flow)
-