Package akka.stream.impl.fusing
Class Sliding<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FlowShape<T,scala.collection.immutable.Seq<T>>>
-
- akka.stream.impl.fusing.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 Summary
Constructors Constructor Description Sliding(int n, int step)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Sliding<T>apply(int n, int step)booleancanEqual(java.lang.Object x$1)<T> Sliding<T>copy(int n, int step)<T> intcopy$default$1()<T> intcopy$default$2()GraphStageLogiccreateLogic(Attributes inheritedAttributes)booleanequals(java.lang.Object x$1)inthashCode()Inlet<T>in()protected AttributesinitialAttributes()intn()Outlet<scala.collection.immutable.Seq<T>>out()intproductArity()java.lang.ObjectproductElement(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()FlowShape<T,scala.collection.immutable.Seq<T>>shape()The shape of a graph is all that is externally visible: its inlets and outlets.intstep()java.lang.StringtoString()static <T> scala.Option<scala.Tuple2<java.lang.Object,java.lang.Object>>unapply(Sliding<T> x$0)-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, traversalBuilder, withAttributes
-
-
-
-
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()
-
shape
public FlowShape<T,scala.collection.immutable.Seq<T>> shape()
Description copied from interface:GraphThe shape of a graph is all that is externally visible: its inlets and outlets.
-
initialAttributes
protected Attributes initialAttributes()
- Overrides:
initialAttributesin classGraphStageWithMaterializedValue<FlowShape<T,scala.collection.immutable.Seq<T>>,NotUsed>
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogicin classGraphStage<FlowShape<T,scala.collection.immutable.Seq<T>>>
-
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:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-