Package akka.stream
Class Graph$
- java.lang.Object
-
- akka.stream.Graph$
-
public class Graph$ extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Graph$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <S extends Shape,M>
Graph.GraphMapMatVal<S,M>GraphMapMatVal(Graph<S,M> self)
<S extends Shape,M1,M2>
Graph<S,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.
-
-
-
Field Detail
-
MODULE$
public static final Graph$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
mapMaterializedValue
public <S extends Shape,M1,M2> Graph<S,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
public final <S extends Shape,M> Graph.GraphMapMatVal<S,M> GraphMapMatVal(Graph<S,M> self)
-
-