abstract class Shape extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- Shape
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Shape()
Abstract Value Members
- abstract 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.
- abstract def inlets: [Inlet[_]]
Scala API: get a list of all input ports
- abstract def outlets: [Outlet[_]]
Scala API: get a list of all output ports
Concrete Value Members
- def getInlets: [Inlet[_]]
Java API: get a list of all input ports
- def getOutlets: [Outlet[_]]
Java API: get a list of all output ports
- def hasSamePortsAndShapeAs(s: Shape): Boolean
Compare this to another shape and determine whether the arrangement of ports is the same (including their ordering).
- def hasSamePortsAs(s: Shape): Boolean
Compare this to another shape and determine whether the set of ports is the same (ignoring their ordering).
- def requireSamePortsAndShapeAs(s: Shape): Unit
Asserting version of #hasSamePortsAndShapeAs.
- def requireSamePortsAs(s: Shape): Unit
Asserting version of #hasSamePortsAs.
A Shape describes the inlets and outlets of a Graph. In keeping with the philosophy that a Graph is a freely reusable blueprint, everything that matters from the outside are the connections that can be made with it, otherwise it is just a black box.