Package org.apache.pekko.stream
Class AmorphousShape
java.lang.Object
org.apache.pekko.stream.Shape
org.apache.pekko.stream.AmorphousShape
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
This type of
Shape can express any number of inputs and outputs at the
expense of forgetting about their specific types. It is used mainly in the
implementation of the Graph builders and typically replaced by a more
meaningful type of Shape when the building is finished.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAmorphousShape(scala.collection.immutable.Seq<Inlet<?>> inlets, scala.collection.immutable.Seq<Outlet<?>> outlets) -
Method Summary
Modifier and TypeMethodDescriptionstatic AmorphousShapeapply(scala.collection.immutable.Seq<Inlet<?>> inlets, scala.collection.immutable.Seq<Outlet<?>> outlets) booleancopy(scala.collection.immutable.Seq<Inlet<?>> inlets, scala.collection.immutable.Seq<Outlet<?>> outlets) scala.collection.immutable.Seq<Inlet<?>>scala.collection.immutable.Seq<Outlet<?>>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 portsscala.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 scala.Option<scala.Tuple2<scala.collection.immutable.Seq<Inlet<?>>,scala.collection.immutable.Seq<Outlet<?>>>> unapply(AmorphousShape 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
-
AmorphousShape
-
-
Method Details
-
apply
public static AmorphousShape apply(scala.collection.immutable.Seq<Inlet<?>> inlets, scala.collection.immutable.Seq<Outlet<?>> outlets) -
unapply
public static scala.Option<scala.Tuple2<scala.collection.immutable.Seq<Inlet<?>>,scala.collection.immutable.Seq<Outlet<?>>>> unapply(AmorphousShape x$0) -
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
public AmorphousShape copy(scala.collection.immutable.Seq<Inlet<?>> inlets, scala.collection.immutable.Seq<Outlet<?>> outlets) -
copy$default$1
-
copy$default$2
-
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
-