Class GroupedWeighted<T>

  • All Implemented Interfaces:
    Graph<FlowShape<T,​scala.collection.immutable.Seq<T>>,​NotUsed>,, scala.Equals, scala.Product

    public final class GroupedWeighted<T>
    extends GraphStage<FlowShape<T,​scala.collection.immutable.Seq<T>>>
    implements scala.Product,
    See Also:
    Serialized Form
    • Constructor Detail

      • GroupedWeighted

        public GroupedWeighted​(long minWeight,
                               scala.Function1<T,​java.lang.Object> costFn)
    • Method Detail

      • apply

        public static <T> GroupedWeighted<T> apply​(long minWeight,
                                                   scala.Function1<T,​java.lang.Object> costFn)
      • unapply

        public static <T> scala.Option<scala.Tuple2<java.lang.Object,​scala.Function1<T,​java.lang.Object>>> unapply​(GroupedWeighted<T> x$0)
      • minWeight

        public long minWeight()
      • costFn

        public scala.Function1<T,​java.lang.Object> costFn()
      • out

        public Outlet<scala.collection.immutable.Seq<T>> out()
      • shape

        public FlowShape<T,​scala.collection.immutable.Seq<T>> 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<FlowShape<T,​scala.collection.immutable.Seq<T>>,​NotUsed>
      • copy

        public <T> GroupedWeighted<T> copy​(long minWeight,
                                           scala.Function1<T,​java.lang.Object> costFn)
      • copy$default$1

        public <T> long copy$default$1()
      • copy$default$2

        public <T> scala.Function1<T,​java.lang.Object> 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
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

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

        public java.lang.String toString()
        toString 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