final case class SourceShape[+T](out: Outlet[T]) extends Shape with Product with Serializable
A Source Shape has exactly one output and no inputs, it models a source of data.
- Source
- Shape.scala
- Alphabetic
- By Inheritance
- SourceShape
- Serializable
- Serializable
- Product
- Equals
- Shape
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
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
- SourceShape → Shape
-
def
deepCopy(): SourceShape[T]
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
- SourceShape → 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[_]]
- Definition Classes
- SourceShape → Shape
- val out: Outlet[T]
-
val
outlets: Seq[Outlet[_]]
- Definition Classes
- SourceShape → 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