Class/Object

akka.stream.scaladsl

Zip

Related Docs: object Zip | package scaladsl

Permalink

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
Linear Supertypes
ZipWith2[A, B, (A, B)], GraphStage[FanInShape2[A, B, (A, B)]], GraphStageWithMaterializedValue[FanInShape2[A, B, (A, B)], NotUsed], Graph[FanInShape2[A, B, (A, B)], NotUsed], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Zip
  2. ZipWith2
  3. GraphStage
  4. GraphStageWithMaterializedValue
  5. Graph
  6. AnyRef
  7. 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 Zip()

    Permalink

Type Members

  1. type Shape = FanInShape2[A, B, (A, B)]

    Permalink

    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

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Zip[A, B] to any2stringadd[Zip[A, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Zip[A, B], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Zip[A, B] to ArrowAssoc[Zip[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def addAttributes(attr: Attributes): Graph[FanInShape2[A, B, (A, B)], NotUsed]

    Permalink
    Definition Classes
    Graph
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def async: Graph[FanInShape2[A, B, (A, B)], NotUsed]

    Permalink

    Put an asynchronous boundary around this Graph

    Put an asynchronous boundary around this Graph

    Definition Classes
    Graph
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  10. def createLogic(inheritedAttributes: Attributes): GraphStageLogic

    Permalink
    Definition Classes
    ZipWith2GraphStage
  11. final def createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)

    Permalink
  12. def ensuring(cond: (Zip[A, B]) ⇒ Boolean, msg: ⇒ Any): Zip[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Zip[A, B] to Ensuring[Zip[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (Zip[A, B]) ⇒ Boolean): Zip[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Zip[A, B] to Ensuring[Zip[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): Zip[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Zip[A, B] to Ensuring[Zip[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): Zip[A, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Zip[A, B] to Ensuring[Zip[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Zip[A, B] to StringFormat[Zip[A, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. val in0: Inlet[A]

    Permalink
    Definition Classes
    ZipWith2
  22. val in1: Inlet[B]

    Permalink
    Definition Classes
    ZipWith2
  23. def initialAttributes: Attributes

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def named(name: String): Graph[FanInShape2[A, B, (A, B)], NotUsed]

    Permalink
    Definition Classes
    Graph
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def out: Outlet[(A, B)]

    Permalink
    Definition Classes
    ZipWith2
  30. val shape: FanInShape2[A, B, (A, B)]

    Permalink

    The shape of a graph is all that is externally visible: its inlets and outlets.

    The shape of a graph is all that is externally visible: its inlets and outlets.

    Definition Classes
    ZipWith2Graph
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    ZipZipWith2 → AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def withAttributes(attr: Attributes): Graph[FanInShape2[A, B, (A, B)], NotUsed]

    Permalink
    Definition Classes
    GraphStageWithMaterializedValueGraph
  37. val zipper: (A, B) ⇒ (A, B)

    Permalink
    Definition Classes
    ZipWith2
  38. def [B](y: B): (Zip[A, B], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Zip[A, B] to ArrowAssoc[Zip[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ZipWith2[A, B, (A, B)]

Inherited from GraphStage[FanInShape2[A, B, (A, B)]]

Inherited from GraphStageWithMaterializedValue[FanInShape2[A, B, (A, B)], NotUsed]

Inherited from Graph[FanInShape2[A, B, (A, B)], NotUsed]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Zip[A, B] to any2stringadd[Zip[A, B]]

Inherited by implicit conversion StringFormat from Zip[A, B] to StringFormat[Zip[A, B]]

Inherited by implicit conversion Ensuring from Zip[A, B] to Ensuring[Zip[A, B]]

Inherited by implicit conversion ArrowAssoc from Zip[A, B] to ArrowAssoc[Zip[A, B]]

Ungrouped