AmorphousShape

org.apache.pekko.stream.AmorphousShape
case class AmorphousShape(inlets: Seq[Inlet[_]], outlets: Seq[Outlet[_]]) extends Shape

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.

Attributes

Source
Shape.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Shape
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def deepCopy(): Shape

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.

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.

Attributes

Definition Classes
Source
Shape.scala

Inherited methods

def getInlets: List[Inlet[_]]

Java API: get a list of all input ports

Java API: get a list of all input ports

Attributes

Inherited from:
Shape
Source
Shape.scala
def getOutlets: List[Outlet[_]]

Java API: get a list of all output ports

Java API: get a list of all output ports

Attributes

Inherited from:
Shape
Source
Shape.scala

Compare this to another shape and determine whether the arrangement of ports is the same (including their ordering).

Compare this to another shape and determine whether the arrangement of ports is the same (including their ordering).

Attributes

Inherited from:
Shape
Source
Shape.scala

Compare this to another shape and determine whether the set of ports is the same (ignoring their ordering).

Compare this to another shape and determine whether the set of ports is the same (ignoring their ordering).

Attributes

Inherited from:
Shape
Source
Shape.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Asserting version of hasSamePortsAndShapeAs.

Asserting version of hasSamePortsAndShapeAs.

Attributes

Inherited from:
Shape
Source
Shape.scala

Asserting version of hasSamePortsAs.

Asserting version of hasSamePortsAs.

Attributes

Inherited from:
Shape
Source
Shape.scala