Packages

final case class BidiShape[-In1, +Out1, -In2, +Out2](in1: Inlet[In1], out1: Outlet[Out1], in2: Inlet[In2], out2: Outlet[Out2]) extends Shape with Product with Serializable

A bidirectional flow of elements that consequently has two inputs and two outputs, arranged like this:

       +------+
 In1 ~>|      |~> Out1
       | bidi |
Out2 <~|      |<~ In2
       +------+
Source
Shape.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BidiShape
  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 BidiShape(top: FlowShape[In1, Out1], bottom: FlowShape[In2, Out2])

    Java API for creating from a pair of unidirectional flows.

  2. new BidiShape(in1: Inlet[In1], out1: Outlet[Out1], in2: Inlet[In2], out2: Outlet[Out2])

Value Members

  1. def deepCopy(): BidiShape[In1, Out1, In2, Out2]

    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
    BidiShapeShape
  2. 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
  3. 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
  4. 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
  5. 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
  6. val in1: Inlet[In1]
  7. val in2: Inlet[In2]
  8. val inlets: Seq[Inlet[_]]

    Scala API: get a list of all input ports

    Scala API: get a list of all input ports

    Definition Classes
    BidiShapeShape
  9. val out1: Outlet[Out1]
  10. val out2: Outlet[Out2]
  11. val outlets: Seq[Outlet[_]]

    Scala API: get a list of all output ports

    Scala API: get a list of all output ports

    Definition Classes
    BidiShapeShape
  12. def requireSamePortsAndShapeAs(s: Shape): Unit

    Asserting version of #hasSamePortsAndShapeAs.

    Asserting version of #hasSamePortsAndShapeAs.

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

    Asserting version of #hasSamePortsAs.

    Asserting version of #hasSamePortsAs.

    Definition Classes
    Shape