Package akka.stream
Class SinkShape<T>
- java.lang.Object
-
- akka.stream.Shape
-
- akka.stream.SinkShape<T>
-
- All Implemented Interfaces:
java.io.Serializable,scala.Equals,scala.Product,scala.Serializable
public final class SinkShape<T> extends Shape implements scala.Product, scala.Serializable
A SinkShapehas exactly one input and no outputs, it models a data sink.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> SinkShape<T>apply(Inlet<T> in)booleancanEqual(java.lang.Object x$1)<T> SinkShape<T>copy(Inlet<T> in)<T> Inlet<T>copy$default$1()SinkShape<T>deepCopy()Create a copy of this Shape object, returning the same type as the original; this constraint can unfortunately not be expressed in the type system.booleanequals(java.lang.Object x$1)inthashCode()Inlet<T>in()scala.collection.immutable.Seq<Inlet<?>>inlets()static <T> SinkShape<T>of(Inlet<T> inlet)scala.collection.immutable.Seq<Outlet<?>>outlets()Scala API: get a list of all output portsintproductArity()java.lang.ObjectproductElement(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()java.lang.StringtoString()static <T> scala.Option<Inlet<T>>unapply(SinkShape<T> x$0)-
Methods inherited from class akka.stream.Shape
getInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAs
-
-
-
-
Method Detail
-
outlets
public scala.collection.immutable.Seq<Outlet<?>> outlets()
Description copied from class:ShapeScala API: get a list of all output ports
-
deepCopy
public SinkShape<T> deepCopy()
Description copied from class:ShapeCreate a copy of this Shape object, returning the same type as the original; this constraint can unfortunately not be expressed in the type system.
-
copy$default$1
public <T> Inlet<T> copy$default$1()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-