| Modifier and Type | Field and Description |
|---|---|
| private A | |
| private final AccumulationFacility | |
| private boolean | |
| private final EventStream | |
| private int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected abstract T | |
| protected A | |
| protected final boolean | |
| protected final Subscription | observeInputs()
Implements abstract org. Starts observing this observable's input(s), if any. |
| protected A | |
| private void | |
| private void | |
| protected abstract AccumulatorSize | |
| public final Guard | |
| protected abstract A |
| accumulatedValue | back to summary |
|---|---|
| private A accumulatedValue | |
| af | back to summary |
|---|---|
| private final AccumulationFacility<T, A> af | |
| hasValue | back to summary |
|---|---|
| private boolean hasValue | |
| input | back to summary |
|---|---|
| private final EventStream<T> input | |
| suspended | back to summary |
|---|---|
| private int suspended | |
| SuspendableBase | back to summary |
|---|---|
| protected SuspendableBase(EventStream<T> input, NotificationAccumulator<O, T, A> pn) | |
| handleEvent | back to summary |
|---|---|
| private void handleEvent(T event) | |
| headOf | back to summary |
|---|---|
| protected abstract T headOf(A accum) | |
| initialAccumulator | back to summary |
|---|---|
| protected A initialAccumulator(T value) | |
| isSuspended | back to summary |
|---|---|
| protected final boolean isSuspended() | |
| 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
| |
| reduce | back to summary |
|---|---|
| protected A reduce(A accum, T value) | |
| reset | back to summary |
|---|---|
| private void reset() | |
| resume | back to summary |
|---|---|
| private void resume() | |
| sizeOf | back to summary |
|---|---|
| protected abstract AccumulatorSize sizeOf(A accum) | |
| suspend | back to summary |
|---|---|
| public final Guard suspend() Implements org. Doc from org. Suspends this suspendable object. In case of suspendable
| |
| tailOf | back to summary |
|---|---|
| protected abstract A tailOf(A accum) | |