abstract class AbstractShape extends Shape
- Alphabetic
- By Inheritance
- AbstractShape
- Shape
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AbstractShape()
Abstract Value Members
-
abstract
def
allInlets: List[Inlet[_]]
Provide the list of all input ports of this shape.
-
abstract
def
allOutlets: List[Outlet[_]]
Provide the list of all output ports of this shape.
-
abstract
def
copyFromPorts(inlets: Seq[Inlet[_]], outlets: Seq[Outlet[_]]): Shape
Create a copy of this Shape object, returning the same type as the original but containing the ports given within the passed-in Shape.
Create a copy of this Shape object, returning the same type as the original but containing the ports given within the passed-in Shape.
- Definition Classes
- Shape
-
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.
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
- Shape
Concrete Value Members
-
final
def
getInlets: List[Inlet[_]]
Java API: get a list of all input ports
Java API: get a list of all input ports
- Definition Classes
- AbstractShape → Shape
-
final
def
getOutlets: List[Outlet[_]]
Java API: get a list of all output ports
Java API: get a list of all output ports
- Definition Classes
- AbstractShape → 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
-
final
lazy val
inlets: Seq[Inlet[_]]
Scala API: get a list of all input ports
Scala API: get a list of all input ports
- Definition Classes
- AbstractShape → Shape
-
final
lazy val
outlets: Seq[Outlet[_]]
Scala API: get a list of all output ports
Scala API: get a list of all output ports
- Definition Classes
- AbstractShape → Shape
-
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