| Modifier and Type | Field and Description |
|---|---|
| private U | |
| private boolean | |
| private final Function | |
| private final EventStream | |
| private final BiFunction |
| Access | Constructor and Description |
|---|---|
| public | AccumulatingStream(EventStream<T> input, Function<? super T, ? extends U> initial, BiFunction<? super U, ? super T, ? extends U> reduction)
|
| Modifier and Type | Method and Description |
|---|---|
| protected final Subscription | observeInputs()
Implements abstract org. Starts observing this observable's input(s), if any. |
| event | back to summary |
|---|---|
| private U event | |
| hasEvent | back to summary |
|---|---|
| private boolean hasEvent | |
| initialTransformation | back to summary |
|---|---|
| private final Function<? super T, ? extends U> initialTransformation | |
| input | back to summary |
|---|---|
| private final EventStream<T> input | |
| reduction | back to summary |
|---|---|
| private final BiFunction<? super U, ? super T, ? extends U> reduction | |
| AccumulatingStream | back to summary |
|---|---|
| public AccumulatingStream(EventStream<T> input, Function<? super T, ? extends U> initial, BiFunction<? super U, ? super T, ? extends U> reduction) | |
| observeInputs | back to summary |
|---|---|
| protected final Subscription observeInputs() Implements abstract org. Doc from org. Starts observing this observable's input(s), if any.
This method is called when the number of observers goes from 0 to 1.
This method is called before
| |