case class AmorphousShape(inlets: Seq[Inlet[_]], outlets: Seq[Outlet[_]]) extends Shape with Product with Serializable
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.
- Source
- Shape.scala
- Alphabetic
- By Inheritance
- AmorphousShape
- Serializable
- Product
- Equals
- Shape
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- def deepCopy(): AmorphousShape
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.
- Definition Classes
- AmorphousShape → Shape
- def getInlets: List[Inlet[_]]
Java API: get a list of all input ports
Java API: get a list of all input ports
- Definition Classes
- Shape
- def getOutlets: List[Outlet[_]]
Java API: get a list of all output ports
Java API: get a list of all output ports
- Definition Classes
- Shape
- def hasSamePortsAndShapeAs(s: Shape): Boolean
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).
- Definition Classes
- Shape
- def hasSamePortsAs(s: Shape): Boolean
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).
- Definition Classes
- Shape
- val inlets: Seq[Inlet[_]]
Scala API: get a list of all input ports
Scala API: get a list of all input ports
- Definition Classes
- AmorphousShape → Shape
- val outlets: Seq[Outlet[_]]
Scala API: get a list of all output ports
Scala API: get a list of all output ports
- Definition Classes
- AmorphousShape → Shape
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def requireSamePortsAndShapeAs(s: Shape): Unit
Asserting version of #hasSamePortsAndShapeAs.
Asserting version of #hasSamePortsAndShapeAs.
- Definition Classes
- Shape
- def requireSamePortsAs(s: Shape): Unit
Asserting version of #hasSamePortsAs.
Asserting version of #hasSamePortsAs.
- Definition Classes
- Shape