Package akka.stream

Class Graph$


  • public class Graph$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Graph$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Graph$()  
    • Field Detail

      • MODULE$

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

      • Graph$

        public Graph$()
    • 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 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.