Top Fields Constructors Methods
org.reactfx

pack-priv final Class AccumulativeEventStream<T, A>

Located in compilation unit of org.reactfx.SuspendableEventStream.

extends SuspendableEventStreamBase<T, A>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Function<? super A, ? extends T>
private final Function<? super A, AccumulatorSize>
private final Function<? super A, ? extends A>

Constructor Summary

AccessConstructor and Description
pack-priv
AccumulativeEventStream(EventStream<T> source, Function<? super T, ? extends A> initialTransformation, BiFunction<? super A, ? super T, ? extends A> accumulation, Function<? super A, AccumulatorSize> size, Function<? super A, ? extends T> head, Function<? super A, ? extends A> tail)

Method Summary

Modifier and TypeMethod and Description
protected T
headOf(A accum)

Implements abstract org.reactfx.SuspendableBase.headOf.

protected AccumulatorSize
sizeOf(A accum)

Implements abstract org.reactfx.SuspendableBase.sizeOf.

protected A
tailOf(A accum)

Implements abstract org.reactfx.SuspendableBase.tailOf.

Field Detail

sizeback to summary
private final Function<? super A, AccumulatorSize> size
tailback to summary
private final Function<? super A, ? extends A> tail

Constructor Detail

AccumulativeEventStreamback to summary
pack-priv AccumulativeEventStream(EventStream<T> source, Function<? super T, ? extends A> initialTransformation, BiFunction<? super A, ? super T, ? extends A> accumulation, Function<? super A, AccumulatorSize> size, Function<? super A, ? extends T> head, Function<? super A, ? extends A> tail)

Method Detail

headOfback to summary
protected T headOf(A accum)

Implements abstract org.reactfx.SuspendableBase.headOf.

Annotations
@Override
sizeOfback to summary
protected AccumulatorSize sizeOf(A accum)

Implements abstract org.reactfx.SuspendableBase.sizeOf.

Annotations
@Override
tailOfback to summary
protected A tailOf(A accum)

Implements abstract org.reactfx.SuspendableBase.tailOf.

Annotations
@Override