Package org.apache.pekko.stream
Class Graph$
java.lang.Object
org.apache.pekko.stream.Graph$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <S extends Shape,M>
Graph.GraphMapMatVal<S,M> GraphMapMatVal(Graph<S, M> self) mapMaterializedValue(Graph<S, M1> g, scala.Function1<M1, M2> f) Java API Transform the materialized value of this Flow, leaving all other properties as they were.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Graph$
public Graph$()
-
-
Method Details
-
mapMaterializedValue
public <S extends Shape,M1, Graph<S,M2> M2> mapMaterializedValue(Graph<S, M1> g, scala.Function1<M1, M2> f) Java API Transform the materialized value of this Flow, leaving all other properties as they were.- Parameters:
g- the graph being transformedf- function to map the graph's materialized value- Returns:
- a graph with same semantics as the given graph, except from the materialized value which is mapped using f.
-
GraphMapMatVal
-