public static final class StreamLayout.FusedModule extends java.lang.Object implements StreamLayout.Module, scala.Product, scala.Serializable
Constructor and Description |
---|
FusedModule(scala.collection.immutable.Set<StreamLayout.Module> subModules,
Shape shape,
scala.collection.immutable.Map<OutPort,InPort> downstreams,
scala.collection.immutable.Map<InPort,OutPort> upstreams,
StreamLayout.MaterializedValueNode materializedValueComputation,
Attributes attributes,
StreamLayout.StructuralInfoModule info) |
Modifier and Type | Method and Description |
---|---|
Attributes |
attributes() |
StreamLayout.Module |
carbonCopy()
The purpose of this method is to create a copy to be included in a larger
graph such that port identity clashes are avoided.
|
scala.collection.immutable.Map<OutPort,InPort> |
downstreams() |
StreamLayout.StructuralInfoModule |
info() |
scala.collection.immutable.Set<InPort> |
inPorts() |
boolean |
isFused() |
StreamLayout.MaterializedValueNode |
materializedValueComputation() |
scala.collection.immutable.Set<OutPort> |
outPorts() |
StreamLayout.Module |
replaceShape(Shape s)
Verify that the given Shape has the same ports and return a new module with that shape.
|
Shape |
shape() |
scala.collection.immutable.Set<StreamLayout.Module> |
subModules() |
java.lang.String |
toString() |
scala.collection.immutable.Map<InPort,OutPort> |
upstreams() |
StreamLayout.FusedModule |
withAttributes(Attributes attributes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compose, compose, composeNoMat, equals, fuse, fuse, hashCode, isAtomic, isBidiFlow, isCopied, isFlow, isRunnable, isSealed, isSink, isSource, transformMaterializedValue, wire
public FusedModule(scala.collection.immutable.Set<StreamLayout.Module> subModules, Shape shape, scala.collection.immutable.Map<OutPort,InPort> downstreams, scala.collection.immutable.Map<InPort,OutPort> upstreams, StreamLayout.MaterializedValueNode materializedValueComputation, Attributes attributes, StreamLayout.StructuralInfoModule info)
public final scala.collection.immutable.Set<InPort> inPorts()
inPorts
in interface StreamLayout.Module
public final scala.collection.immutable.Set<OutPort> outPorts()
outPorts
in interface StreamLayout.Module
public scala.collection.immutable.Set<StreamLayout.Module> subModules()
subModules
in interface StreamLayout.Module
public Shape shape()
shape
in interface StreamLayout.Module
public scala.collection.immutable.Map<OutPort,InPort> downstreams()
downstreams
in interface StreamLayout.Module
public scala.collection.immutable.Map<InPort,OutPort> upstreams()
upstreams
in interface StreamLayout.Module
public StreamLayout.MaterializedValueNode materializedValueComputation()
materializedValueComputation
in interface StreamLayout.Module
public Attributes attributes()
attributes
in interface StreamLayout.Module
public StreamLayout.StructuralInfoModule info()
public boolean isFused()
isFused
in interface StreamLayout.Module
public StreamLayout.Module replaceShape(Shape s)
StreamLayout.Module
Please note that this method MUST NOT be implemented using a CopiedModule since the purpose of replaceShape can also be to rearrange the ports (as in BidiFlow.reversed) and that purpose would be defeated.
replaceShape
in interface StreamLayout.Module
s
- (undocumented)public StreamLayout.Module carbonCopy()
StreamLayout.Module
carbonCopy
in interface StreamLayout.Module
public StreamLayout.FusedModule withAttributes(Attributes attributes)
withAttributes
in interface StreamLayout.Module
public java.lang.String toString()
toString
in class java.lang.Object