Package akka.stream
Class BidiShape<In1,Out1,In2,Out2>
- java.lang.Object
-
- akka.stream.Shape
-
- akka.stream.BidiShape<In1,Out1,In2,Out2>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public final class BidiShape<In1,Out1,In2,Out2> extends Shape implements scala.Product, java.io.Serializable
A bidirectional flow of elements that consequently has two inputs and two outputs, arranged like this:+------+ In1 ~>| |~> Out1 | bidi | Out2 <~| |<~ In2 +------+
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <In1,Out1,In2,Out2>
BidiShape<In1,Out1,In2,Out2>apply(Inlet<In1> in1, Outlet<Out1> out1, Inlet<In2> in2, Outlet<Out2> out2)
boolean
canEqual(java.lang.Object x$1)
<In1,Out1,In2,Out2>
BidiShape<In1,Out1,In2,Out2>copy(Inlet<In1> in1, Outlet<Out1> out1, Inlet<In2> in2, Outlet<Out2> out2)
<In1,Out1,In2,Out2>
Inlet<In1>copy$default$1()
<In1,Out1,In2,Out2>
Outlet<Out1>copy$default$2()
<In1,Out1,In2,Out2>
Inlet<In2>copy$default$3()
<In1,Out1,In2,Out2>
Outlet<Out2>copy$default$4()
BidiShape<In1,Out1,In2,Out2>
deepCopy()
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.boolean
equals(java.lang.Object x$1)
static <I1,O1,I2,O2>
BidiShape<I1,O1,I2,O2>fromFlows(FlowShape<I1,O1> top, FlowShape<I2,O2> bottom)
int
hashCode()
Inlet<In1>
in1()
Inlet<In2>
in2()
scala.collection.immutable.Seq<Inlet<?>>
inlets()
Scala API: get a list of all input portsstatic <In1,Out1,In2,Out2>
BidiShape<In1,Out1,In2,Out2>of(Inlet<In1> in1, Outlet<Out1> out1, Inlet<In2> in2, Outlet<Out2> out2)
Java APIOutlet<Out1>
out1()
Outlet<Out2>
out2()
scala.collection.immutable.Seq<Outlet<?>>
outlets()
Scala API: get a list of all output portsint
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
static <In1,Out1,In2,Out2>
scala.Option<scala.Tuple4<Inlet<In1>,Outlet<Out1>,Inlet<In2>,Outlet<Out2>>>unapply(BidiShape<In1,Out1,In2,Out2> x$0)
-
Methods inherited from class akka.stream.Shape
getInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAs
-
-
-
-
Method Detail
-
fromFlows
public static <I1,O1,I2,O2> BidiShape<I1,O1,I2,O2> fromFlows(FlowShape<I1,O1> top, FlowShape<I2,O2> bottom)
-
of
public static <In1,Out1,In2,Out2> BidiShape<In1,Out1,In2,Out2> of(Inlet<In1> in1, Outlet<Out1> out1, Inlet<In2> in2, Outlet<Out2> out2)
Java API
-
apply
public static <In1,Out1,In2,Out2> BidiShape<In1,Out1,In2,Out2> apply(Inlet<In1> in1, Outlet<Out1> out1, Inlet<In2> in2, Outlet<Out2> out2)
-
unapply
public static <In1,Out1,In2,Out2> scala.Option<scala.Tuple4<Inlet<In1>,Outlet<Out1>,Inlet<In2>,Outlet<Out2>>> unapply(BidiShape<In1,Out1,In2,Out2> x$0)
-
inlets
public scala.collection.immutable.Seq<Inlet<?>> inlets()
Description copied from class:Shape
Scala API: get a list of all input ports
-
outlets
public scala.collection.immutable.Seq<Outlet<?>> outlets()
Description copied from class:Shape
Scala API: get a list of all output ports
-
deepCopy
public BidiShape<In1,Out1,In2,Out2> deepCopy()
Description copied from class: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.
-
copy
public <In1,Out1,In2,Out2> BidiShape<In1,Out1,In2,Out2> copy(Inlet<In1> in1, Outlet<Out1> out1, Inlet<In2> in2, Outlet<Out2> out2)
-
copy$default$1
public <In1,Out1,In2,Out2> Inlet<In1> copy$default$1()
-
copy$default$2
public <In1,Out1,In2,Out2> Outlet<Out1> copy$default$2()
-
copy$default$3
public <In1,Out1,In2,Out2> Inlet<In2> copy$default$3()
-
copy$default$4
public <In1,Out1,In2,Out2> Outlet<Out2> copy$default$4()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-