abstract class Shape extends AnyRef
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.
- Source
- Shape.scala
- Alphabetic
- By Inheritance
- Shape
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Shape()
Abstract Value Members
-
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.
-
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: Seq[Inlet[_]]
Scala API: get a list of all input ports
-
abstract
def
outlets: Seq[Outlet[_]]
Scala API: get a list of all output ports
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Shape, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (Shape) ⇒ Boolean, msg: ⇒ Any): Shape
- def ensuring(cond: (Shape) ⇒ Boolean): Shape
- def ensuring(cond: Boolean, msg: ⇒ Any): Shape
- def ensuring(cond: Boolean): Shape
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getInlets: List[Inlet[_]]
Java API: get a list of all input ports
-
def
getOutlets: List[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
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
requireSamePortsAndShapeAs(s: Shape): Unit
Asserting version of #hasSamePortsAndShapeAs.
-
def
requireSamePortsAs(s: Shape): Unit
Asserting version of #hasSamePortsAs.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (Shape, B)