Package akka.stream.impl.fusing
Class Intersperse<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FlowShape<T,T>>
-
- akka.stream.impl.fusing.GraphStages.SimpleLinearGraphStage<T>
-
- akka.stream.impl.fusing.Intersperse<T>
-
- All Implemented Interfaces:
Graph<FlowShape<T,T>,NotUsed>
,java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public final class Intersperse<T> extends GraphStages.SimpleLinearGraphStage<T> implements scala.Product, scala.Serializable
INTERNAL API- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Intersperse(scala.Option<T> start, T inject, scala.Option<T> end)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Intersperse<T>
apply(scala.Option<T> start, T inject, scala.Option<T> end)
boolean
canEqual(java.lang.Object x$1)
<T> Intersperse<T>
copy(scala.Option<T> start, T inject, scala.Option<T> end)
<T> scala.Option<T>
copy$default$1()
<T> T
copy$default$2()
<T> scala.Option<T>
copy$default$3()
GraphStageLogic
createLogic(Attributes attr)
scala.Option<T>
end()
boolean
equals(java.lang.Object x$1)
int
hashCode()
T
inject()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
scala.Option<T>
start()
java.lang.String
toString()
static <T> scala.Option<scala.Tuple3<scala.Option<T>,T,scala.Option<T>>>
unapply(Intersperse<T> x$0)
-
Methods inherited from class akka.stream.impl.fusing.GraphStages.SimpleLinearGraphStage
in, out, shape
-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
apply
public static <T> Intersperse<T> apply(scala.Option<T> start, T inject, scala.Option<T> end)
-
unapply
public static <T> scala.Option<scala.Tuple3<scala.Option<T>,T,scala.Option<T>>> unapply(Intersperse<T> x$0)
-
start
public scala.Option<T> start()
-
inject
public T inject()
-
end
public scala.Option<T> end()
-
createLogic
public GraphStageLogic createLogic(Attributes attr)
- Specified by:
createLogic
in classGraphStage<FlowShape<T,T>>
-
copy
public <T> Intersperse<T> copy(scala.Option<T> start, T inject, scala.Option<T> end)
-
copy$default$1
public <T> scala.Option<T> copy$default$1()
-
copy$default$2
public <T> T copy$default$2()
-
copy$default$3
public <T> scala.Option<T> copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-