final class Zip[A, B] extends ZipWith2[A, B, (A, B)]
Combine the elements of 2 streams into a stream of tuples.
A Zip
has a left
and a right
input port and one out
port
Emits when all of the inputs has an element available
Backpressures when downstream backpressures
Completes when any upstream completes
Cancels when downstream cancels
- Source
- Graph.scala
- Alphabetic
- By Inheritance
- Zip
- ZipWith2
- GraphStage
- GraphStageWithMaterializedValue
- Graph
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Zip()
Type Members
-
type
Shape = FanInShape2[A, B, (A, B)]
Type-level accessor for the shape parameter of this graph.
Type-level accessor for the shape parameter of this graph.
- Definition Classes
- Graph
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Zip[A, B], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addAttributes(attr: Attributes): Graph[FanInShape2[A, B, (A, B)], NotUsed]
- Definition Classes
- Graph
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
async: Graph[FanInShape2[A, B, (A, B)], NotUsed]
Put an asynchronous boundary around this
Graph
Put an asynchronous boundary around this
Graph
- Definition Classes
- Graph
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createLogic(inheritedAttributes: Attributes): GraphStageLogic
- Definition Classes
- ZipWith2 → GraphStage
-
final
def
createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
- Definition Classes
- GraphStage → GraphStageWithMaterializedValue
- def ensuring(cond: (Zip[A, B]) ⇒ Boolean, msg: ⇒ Any): Zip[A, B]
- def ensuring(cond: (Zip[A, B]) ⇒ Boolean): Zip[A, B]
- def ensuring(cond: Boolean, msg: ⇒ Any): Zip[A, B]
- def ensuring(cond: Boolean): Zip[A, B]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
val
in0: Inlet[A]
- Definition Classes
- ZipWith2
-
val
in1: Inlet[B]
- Definition Classes
- ZipWith2
-
def
initialAttributes: Attributes
- Definition Classes
- ZipWith2 → GraphStageWithMaterializedValue
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
lazy val
module: Module
INTERNAL API.
INTERNAL API.
Every materializable element must be backed by a stream layout module
- Definition Classes
- GraphStageWithMaterializedValue → Graph
-
def
named(name: String): Graph[FanInShape2[A, B, (A, B)], NotUsed]
- Definition Classes
- Graph
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
out: Outlet[(A, B)]
- Definition Classes
- ZipWith2
- val shape: FanInShape2[A, B, (A, B)]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
withAttributes(attr: Attributes): Graph[FanInShape2[A, B, (A, B)], NotUsed]
- Definition Classes
- GraphStageWithMaterializedValue → Graph
-
val
zipper: (A, B) ⇒ (A, B)
- Definition Classes
- ZipWith2
- def →[B](y: B): (Zip[A, B], B)