Package org.apache.pekko.stream
Class SourceShape<T>
java.lang.Object
org.apache.pekko.stream.Shape
org.apache.pekko.stream.SourceShape<T>
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
A Source
Shape has exactly one output and no inputs, it models a source
of data.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> SourceShape<T>boolean<T> SourceShape<T><T> Outlet<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.booleaninthashCode()scala.collection.immutable.Seq<Inlet<?>>inlets()Scala API: get a list of all input portsstatic <T> SourceShape<T>Java APIout()scala.collection.immutable.Seq<Outlet<?>>outlets()Scala API: get a list of all output portsintproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()static <T> scala.Option<Outlet<T>>unapply(SourceShape<T> x$0) Methods inherited from class org.apache.pekko.stream.Shape
getInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
SourceShape
-
-
Method Details
-
of
Java API -
apply
-
unapply
-
out
-
inlets
Description copied from class:ShapeScala API: get a list of all input ports -
outlets
Description copied from class:ShapeScala API: get a list of all output ports -
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
-
copy$default$1
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-