Class Scan<In,​Out>

  • All Implemented Interfaces:
    Graph<FlowShape<In,​Out>,​NotUsed>,, scala.Equals, scala.Product, scala.Serializable

    public final class Scan<In,​Out>
    extends GraphStage<FlowShape<In,​Out>>
    implements scala.Product, scala.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Scan

        public Scan​(Out zero,
                    scala.Function2<Out,​In,​Out> f)
    • Method Detail

      • apply

        public static <In,​Out> Scan<In,​Out> apply​(Out zero,
                                                              scala.Function2<Out,​In,​Out> f)
      • unapply

        public static <In,​Out> scala.Option<scala.Tuple2<Out,​scala.Function2<Out,​In,​Out>>> unapply​(Scan<In,​Out> x$0)
      • zero

        public Out zero()
      • f

        public scala.Function2<Out,​In,​Out> f()
      • shape

        public FlowShape<In,​Out> shape()
        Description copied from interface: Graph
        The shape of a graph is all that is externally visible: its inlets and outlets.
        Specified by:
        shape in interface Graph<In,​Out>
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • copy

        public <In,​Out> Scan<In,​Out> copy​(Out zero,
                                                      scala.Function2<Out,​In,​Out> f)
      • copy$default$1

        public <In,​Out> Out copy$default$1()
      • copy$default$2

        public <In,​Out> scala.Function2<Out,​In,​Out> copy$default$2()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object