Class Sliding<T>

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

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

      • Sliding

        public Sliding​(int n,
                       int step)
    • Method Detail

      • apply

        public static <T> Sliding<T> apply​(int n,
                                           int step)
      • unapply

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

        public int n()
      • step

        public int step()
      • 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>
        Returns:
        (undocumented)
      • copy

        public <T> Sliding<T> copy​(int n,
                                   int step)
      • copy$default$1

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

        public <T> int 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()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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