Package akka.stream.javadsl
Class GraphDSL$
- java.lang.Object
-
- akka.stream.javadsl.GraphCreate
-
- akka.stream.javadsl.GraphDSL$
-
public class GraphDSL$ extends GraphCreate
-
-
Constructor Summary
Constructors Constructor Description GraphDSL$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <M> GraphDSL.Builder<M>
builder()
<IS extends Shape,S extends Shape,M,G extends Graph<IS,M>>
Graph<S,java.util.List<M>>create(java.util.List<G> graphs, Function2<GraphDSL.Builder<java.util.List<M>>,java.util.List<IS>,S> buildBlock)
Creates a newGraph
by importing the given graph listgraphs
and passing theirShape
s along with theGraphDSL.Builder
to the given create function.
-
-
-
Field Detail
-
MODULE$
public static final GraphDSL$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
builder
public <M> GraphDSL.Builder<M> builder()
-
create
public <IS extends Shape,S extends Shape,M,G extends Graph<IS,M>> Graph<S,java.util.List<M>> create(java.util.List<G> graphs, Function2<GraphDSL.Builder<java.util.List<M>>,java.util.List<IS>,S> buildBlock)
Creates a newGraph
by importing the given graph listgraphs
and passing theirShape
s along with theGraphDSL.Builder
to the given create function.- Parameters:
graphs
- (undocumented)buildBlock
- (undocumented)- Returns:
- (undocumented)
-
-