| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private A | |
| private final Function | |
| private final Function | |
| private final EventStream | |
| private BooleanBinding | |
| private final BiFunction | |
| private ThenAccumulateForStream. | |
| private final Timer |
| Access | Constructor and Description |
|---|---|
| public | ThenAccumulateForStream(EventStream<T> input, Function<? super T, ? extends A> initial, BiFunction<? super A, ? super T, ? extends A> reduction, Function<? super A, List<T>> deconstruction, 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. |
| private void |
| acc | back to summary |
|---|---|
| private A acc | |
| deconstruction | back to summary |
|---|---|
| private final Function<? super A, List<T>> deconstruction | |
| initial | back to summary |
|---|---|
| private final Function<? super T, ? extends A> initial | |
| input | back to summary |
|---|---|
| private final EventStream<T> input | |
| pending | back to summary |
|---|---|
| private BooleanBinding pending | |
| reduction | back to summary |
|---|---|
| private final BiFunction<? super A, ? super T, ? extends A> reduction | |
| state | back to summary |
|---|---|
| private ThenAccumulateForStream. | |
| timer | back to summary |
|---|---|
| private final Timer timer | |
| ThenAccumulateForStream | back to summary |
|---|---|
| public ThenAccumulateForStream(EventStream<T> input, Function<? super T, ? extends A> initial, BiFunction<? super A, ? super T, ? extends A> reduction, Function<? super A, List<T>> deconstruction, Function<Runnable, Timer> timerFactory) | |
| handleEvent | back to summary |
|---|---|
| private void handleEvent(T t) | |
| 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.
| |
| setState | back to summary |
|---|---|
| private void setState(ThenAccumulateForStream. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ThenAccumulateForStream. | |
| public static final ThenAccumulateForStream. | |
| public static final ThenAccumulateForStream. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ThenAccumulateForStream. | |
| public static ThenAccumulateForStream. |
| ACC_HAS_EVENT | back to summary |
|---|---|
| public static final ThenAccumulateForStream. | |
| ACC_NO_EVENT | back to summary |
|---|---|
| public static final ThenAccumulateForStream. | |
| READY | back to summary |
|---|---|
| public static final ThenAccumulateForStream. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static ThenAccumulateForStream. | |
| values | back to summary |
|---|---|
| public static ThenAccumulateForStream. | |