Packages

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
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SourceShape
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Shape
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SourceShape(out: Outlet[T])

Value Members

  1. 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
    SourceShapeShape
  2. 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
    SourceShapeShape
  3. 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
  4. 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
  5. 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
  6. 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
  7. val inlets: Seq[Inlet[_]]
    Definition Classes
    SourceShapeShape
  8. val out: Outlet[T]
  9. val outlets: Seq[Outlet[_]]
    Definition Classes
    SourceShapeShape
  10. def requireSamePortsAndShapeAs(s: Shape): Unit

    Asserting version of #hasSamePortsAndShapeAs.

    Asserting version of #hasSamePortsAndShapeAs.

    Definition Classes
    Shape
  11. def requireSamePortsAs(s: Shape): Unit

    Asserting version of #hasSamePortsAs.

    Asserting version of #hasSamePortsAs.

    Definition Classes
    Shape