Package akka.stream
Class SourceShape<T>
- java.lang.Object
- 
- akka.stream.Shape
- 
- akka.stream.SourceShape<T>
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- scala.Equals,- scala.Product
 
 public final class SourceShape<T> extends Shape implements scala.Product, java.io.Serializable A SourceShapehas exactly one output and no inputs, it models a source of data.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description SourceShape(Outlet<T> out)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> SourceShape<T>apply(Outlet<T> out)booleancanEqual(java.lang.Object x$1)<T> SourceShape<T>copy(Outlet<T> out)<T> Outlet<T>copy$default$1()SourceShape<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()scala.collection.immutable.Seq<Inlet<?>>inlets()Scala API: get a list of all input portsstatic <T> SourceShape<T>of(Outlet<T> outlet)Java APIOutlet<T>out()scala.collection.immutable.Seq<Outlet<?>>outlets()Scala API: get a list of all output portsintproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()java.lang.StringtoString()static <T> scala.Option<Outlet<T>>unapply(SourceShape<T> x$0)- 
Methods inherited from class akka.stream.ShapegetInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAs
 
- 
 
- 
- 
- 
Method Detail- 
ofpublic static <T> SourceShape<T> of(Outlet<T> outlet) Java API
 - 
applypublic static <T> SourceShape<T> apply(Outlet<T> out) 
 - 
unapplypublic static <T> scala.Option<Outlet<T>> unapply(SourceShape<T> x$0) 
 - 
inletspublic scala.collection.immutable.Seq<Inlet<?>> inlets() Description copied from class:ShapeScala API: get a list of all input ports
 - 
outletspublic scala.collection.immutable.Seq<Outlet<?>> outlets() Description copied from class:ShapeScala API: get a list of all output ports
 - 
deepCopypublic SourceShape<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.
 - 
copypublic <T> SourceShape<T> copy(Outlet<T> out) 
 - 
copy$default$1public <T> Outlet<T> copy$default$1() 
 - 
productPrefixpublic java.lang.String productPrefix() - Specified by:
- productPrefixin interface- scala.Product
 
 - 
productAritypublic int productArity() - Specified by:
- productArityin interface- scala.Product
 
 - 
productElementpublic java.lang.Object productElement(int x$1) - Specified by:
- productElementin interface- scala.Product
 
 - 
productIteratorpublic scala.collection.Iterator<java.lang.Object> productIterator() - Specified by:
- productIteratorin interface- scala.Product
 
 - 
canEqualpublic boolean canEqual(java.lang.Object x$1) - Specified by:
- canEqualin interface- scala.Equals
 
 - 
productElementNamepublic java.lang.String productElementName(int x$1) - Specified by:
- productElementNamein interface- scala.Product
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object x$1) - Specified by:
- equalsin interface- scala.Equals
- Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-