| Modifier and Type | Field and Description |
|---|---|
| private O | |
| private boolean | |
| private final Function | |
| private final EventStream | |
| private BooleanBinding | |
| private final BiFunction | |
| private final Timer |
| Access | Constructor and Description |
|---|---|
| public | SuccessionReducingStream(EventStream<I> input, Function<? super I, ? extends O> initial, BiFunction<? super O, ? super I, ? extends O> reduction, Function<Runnable, Timer> timerFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| public boolean | |
| protected final Subscription | observeInputs()
Implements abstract org. Starts observing this observable's input(s), if any. |
| public ObservableBooleanValue | pendingProperty()
Implements org. Indicates whether there is a pending event that will be emitted by this stream in the (near) future. |
| event | back to summary |
|---|---|
| private O event | |
| hasEvent | back to summary |
|---|---|
| private boolean hasEvent | |
| initial | back to summary |
|---|---|
| private final Function<? super I, ? extends O> initial | |
| input | back to summary |
|---|---|
| private final EventStream<I> input | |
| pending | back to summary |
|---|---|
| private BooleanBinding pending | |
| reduction | back to summary |
|---|---|
| private final BiFunction<? super O, ? super I, ? extends O> reduction | |
| timer | back to summary |
|---|---|
| private final Timer timer | |
| SuccessionReducingStream | back to summary |
|---|---|
| public SuccessionReducingStream(EventStream<I> input, Function<? super I, ? extends O> initial, BiFunction<? super O, ? super I, ? extends O> reduction, Function<Runnable, Timer> timerFactory) | |
| handleEvent | back to summary |
|---|---|
| private void handleEvent(I i) | |
| handleTimeout | back to summary |
|---|---|
| private void handleTimeout() | |
| invalidatePending | back to summary |
|---|---|
| private void invalidatePending() | |
| isPending | back to summary |
|---|---|
| public boolean isPending() Implements org.
| |
| 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
| |
| pendingProperty | back to summary |
|---|---|
| public ObservableBooleanValue pendingProperty() Implements org. Doc from org. Indicates whether there is a pending event that will be emitted by this stream in the (near) future. This may mean that an event has occurred that causes this stream to emit an event with some delay, e.g. waiting for a timer or completion of an asynchronous task.
| |