public static final class StreamLayout.CopiedModule extends java.lang.Object implements StreamLayout.Module, scala.Product, scala.Serializable
Constructor and Description |
---|
CopiedModule(Shape shape,
Attributes attributes,
StreamLayout.Module copyOf) |
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.
|
StreamLayout.Module |
copyOf() |
scala.collection.immutable.Set<InPort> |
inPorts() |
boolean |
isCopied() |
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() |
StreamLayout.Module |
withAttributes(Attributes attr) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compose, compose, composeNoMat, downstreams, equals, fuse, fuse, hashCode, isAtomic, isBidiFlow, isFlow, isFused, isRunnable, isSealed, isSink, isSource, transformMaterializedValue, upstreams, wire
public CopiedModule(Shape shape, Attributes attributes, StreamLayout.Module copyOf)
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 Shape shape()
shape
in interface StreamLayout.Module
public Attributes attributes()
attributes
in interface StreamLayout.Module
public StreamLayout.Module copyOf()
public scala.collection.immutable.Set<StreamLayout.Module> subModules()
subModules
in interface StreamLayout.Module
public StreamLayout.Module withAttributes(Attributes attr)
withAttributes
in interface StreamLayout.Module
public StreamLayout.Module carbonCopy()
StreamLayout.Module
carbonCopy
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.MaterializedValueNode materializedValueComputation()
materializedValueComputation
in interface StreamLayout.Module
public boolean isCopied()
isCopied
in interface StreamLayout.Module
public java.lang.String toString()
toString
in class java.lang.Object