Class Collect<In,​Out>

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

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

      • Collect

        public Collect​(scala.PartialFunction<In,​Out> pf)
    • Method Detail

      • NotApplied

        public static final scala.Function1<java.lang.Object,​java.lang.Object> NotApplied()
      • apply

        public static <In,​Out> Collect<In,​Out> apply​(scala.PartialFunction<In,​Out> pf)
        INTERNAL API
        Parameters:
        pf - (undocumented)
        Returns:
        (undocumented)
      • unapply

        public static <In,​Out> scala.Option<scala.PartialFunction<In,​Out>> unapply​(Collect<In,​Out> x$0)
      • named

        public static Graph<S,​M> named​(java.lang.String name)
      • async

        public static Graph<S,​M> async()
      • async

        public static Graph<S,​M> async​(java.lang.String dispatcher)
      • async

        public static Graph<S,​M> async​(java.lang.String dispatcher,
                                             int inputBufferSize)
      • addAttributes

        public static Graph<S,​M> addAttributes​(Attributes attr)
      • withAttributes

        public static final Graph<S,​M> withAttributes​(Attributes attr)
      • createLogicAndMaterializedValue

        public static final scala.Tuple2<GraphStageLogic,​NotUsed> createLogicAndMaterializedValue​(Attributes inheritedAttributes)
      • pf

        public scala.PartialFunction<In,​Out> pf()
      • 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>
        Returns:
        (undocumented)
      • toString

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

        public <In,​Out> Collect<In,​Out> copy​(scala.PartialFunction<In,​Out> pf)
      • copy$default$1

        public <In,​Out> scala.PartialFunction<In,​Out> copy$default$1()
      • 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()
        Overrides:
        hashCode in class java.lang.Object
      • equals

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