Class Graph$

java.lang.Object
org.apache.pekko.stream.Graph$

public class Graph$ extends Object
  • Field Details

    • MODULE$

      public static final Graph$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Graph$

      public Graph$()
  • Method Details

    • 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 transformed
      f - 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)