public static final class GraphStages.SingleSource<T> extends GraphStage<SourceShape<T>>
| Constructor and Description |
|---|
SingleSource(T elem) |
| Modifier and Type | Method and Description |
|---|---|
GraphStageLogic |
createLogic(Attributes attr) |
T |
elem() |
Attributes |
initialAttributes() |
Outlet<T> |
out() |
SourceShape<T> |
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.
|
java.lang.String |
toString() |
createLogicAndMaterializedValuemodule, withAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttributes, async, namedpublic SingleSource(T elem)
public T elem()
public Attributes initialAttributes()
initialAttributes in class GraphStageWithMaterializedValue<SourceShape<T>,NotUsed>public SourceShape<T> shape()
Graphpublic GraphStageLogic createLogic(Attributes attr)
createLogic in class GraphStage<SourceShape<T>>public java.lang.String toString()
toString in class java.lang.Object