public final class HeadOptionStage<T> extends GraphStageWithMaterializedValue<SinkShape<T>,scala.concurrent.Future<scala.Option<T>>>
| Constructor and Description |
|---|
HeadOptionStage() |
| Modifier and Type | Method and Description |
|---|---|
scala.Tuple2<GraphStageLogic,scala.concurrent.Future<scala.Option<T>>> |
createLogicAndMaterializedValue(Attributes inheritedAttributes) |
Inlet<T> |
in() |
SinkShape<T> |
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.
|
java.lang.String |
toString() |
initialAttributes, module, withAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttributes, async, namedpublic SinkShape<T> shape()
Graphpublic scala.Tuple2<GraphStageLogic,scala.concurrent.Future<scala.Option<T>>> createLogicAndMaterializedValue(Attributes inheritedAttributes)
createLogicAndMaterializedValue in class GraphStageWithMaterializedValue<SinkShape<T>,scala.concurrent.Future<scala.Option<T>>>public java.lang.String toString()
toString in class java.lang.Object