java.lang.Object
net.pincette.rs.ProcessorBase<T,R>
net.pincette.rs.Buffered<T,T>
net.pincette.rs.Separator<T>
- Type Parameters:
T
- the value type.
- All Implemented Interfaces:
Flow.Processor<T,
,T> Flow.Publisher<T>
,Flow.Subscriber<T>
A processor which emits a given value between the incoming value stream.
- Since:
- 1.0
- Author:
- Werner Donné
-
Field Summary
Fields inherited from class net.pincette.rs.ProcessorBase
subscriber, subscription
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
onNextAction
(T value) TheonNext
method uses this method.static <T> Flow.Processor<T,
T> static <T> Flow.Processor<T,
T> separator
(T value) Methods inherited from class net.pincette.rs.Buffered
addValues, cancelling, emit, emit, getRequested, isCancelled, isCompleted, last, onComplete, onError, onNext, onSubscribe
-
Constructor Details
-
Separator
-
Separator
-
-
Method Details
-
separator
-
separator
-
onNextAction
Description copied from class:Buffered
TheonNext
method uses this method.- Specified by:
onNextAction
in classBuffered<T,
T> - Parameters:
value
- the received value.- Returns:
- Indicated if values have been added or not.
-