Package org.apache.pekko.stream
Class BidiShape<In1,Out1,In2,Out2>
java.lang.Object
org.apache.pekko.stream.Shape
org.apache.pekko.stream.BidiShape<In1,Out1,In2,Out2>
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
public final class BidiShape<In1,Out1,In2,Out2>
extends Shape
implements scala.Product, Serializable
A bidirectional flow of elements that consequently has two inputs and two
outputs, arranged like this:
+------+
In1 ~>| |~> Out1
| bidi |
Out2 <~| |<~ In2
+------+
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <In1,Out1, In2, Out2>
BidiShape<In1,Out1, In2, Out2> boolean<In1,Out1, In2, Out2>
BidiShape<In1,Out1, In2, Out2> <In1,Out1, In2, Out2>
Inlet<In1><In1,Out1, In2, Out2>
Outlet<Out1><In1,Out1, In2, Out2>
Inlet<In2><In1,Out1, In2, Out2>
Outlet<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.booleanstatic <I1,O1, I2, O2>
BidiShape<I1,O1, I2, O2> inthashCode()in1()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> Java APIout1()out2()scala.collection.immutable.Seq<Outlet<?>>outlets()Scala API: get a list of all output portsintproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()static <In1,Out1, In2, Out2>
scala.Option<scala.Tuple4<Inlet<In1>,Outlet<Out1>, Inlet<In2>, Outlet<Out2>>> Methods inherited from class org.apache.pekko.stream.Shape
getInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
BidiShape
-
BidiShape
Java API for creating from a pair of unidirectional flows.
-
-
Method Details
-
fromFlows
-
of
public static <In1,Out1, BidiShape<In1,In2, Out2> Out1, ofIn2, Out2> (Inlet<In1> in1, Outlet<Out1> out1, Inlet<In2> in2, Outlet<Out2> out2) Java API -
apply
-
unapply
-
in1
-
out1
-
in2
-
out2
-
inlets
Description copied from class:ShapeScala API: get a list of all input ports -
outlets
Description copied from class:ShapeScala API: get a list of all output ports -
deepCopy
Description copied from class:ShapeCreate 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
-
copy$default$1
-
copy$default$2
-
copy$default$3
-
copy$default$4
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-