Top Methods
org.reactfx.util

public Interface NotificationAccumulator<O, V, A>

Additional top-level classes in compilation unit: NotificationAccumulatorBase, NonAccumulativeStreamNotifications, AccumulativeStreamNotifications, QueuingStreamNotifications, AbstractReducingStreamNotifications, ReducingStreamNotifications, RetainLatestStreamNotifications, RetailOldestValNotifications, ListNotifications.

Known Direct Implementers
org.reactfx.util.NotificationAccumulatorBase
Type Parameters
<O>
observer type
<V>
type of produced values
<A>
type of accumulated value
Imports
java.util.Deque, .Iterator, .NoSuchElementException, java.util.function.BiFunction, .BinaryOperator, .Consumer, .Function, org.reactfx.collection.ListModificationSequence, .LiveList, .LiveList.Observer, .QuasiListChange

Method Summary

Modifier and TypeMethod and Description
public static <T, A> NotificationAccumulator<Consumer<? super T>, T, A>
accumulativeStreamNotifications(Function<? super A, AccumulatorSize> size, Function<? super A, ? extends T> head, Function<? super A, ? extends A> tail, Function<? super T, ? extends A> initialTransformation, BiFunction<? super A, ? super T, ? extends A> reduction)

public void
addAll(Iterator<O> observers, V value)

public void
public AccumulationFacility<V, A>
public boolean
public static <E> NotificationAccumulator<LiveList.Observer<? super E, ?>, QuasiListChange<? extends E>, ListModificationSequence<E>>
public static <T> NotificationAccumulator<Consumer<? super T>, T, T>
public static <T> NotificationAccumulator<Consumer<? super T>, T, Deque<T>>
public static <T> NotificationAccumulator<Consumer<? super T>, T, T>
public static <T> NotificationAccumulator<Consumer<? super T>, T, T>
public static <T> NotificationAccumulator<Consumer<? super T>, T, T>
public Runnable

Method Detail

accumulativeStreamNotificationsback to summary
public static <T, A> NotificationAccumulator<Consumer<? super T>, T, A> accumulativeStreamNotifications(Function<? super A, AccumulatorSize> size, Function<? super A, ? extends T> head, Function<? super A, ? extends A> tail, Function<? super T, ? extends A> initialTransformation, BiFunction<? super A, ? super T, ? extends A> reduction)
addAllback to summary
public void addAll(Iterator<O> observers, V value)
clearback to summary
public void clear()
getAccumulationFacilityback to summary
public AccumulationFacility<V, A> getAccumulationFacility()
isEmptyback to summary
public boolean isEmpty()
listNotificationsback to summary
public static <E> NotificationAccumulator<LiveList.Observer<? super E, ?>, QuasiListChange<? extends E>, ListModificationSequence<E>> listNotifications()
nonAccumulativeStreamNotificationsback to summary
public static <T> NotificationAccumulator<Consumer<? super T>, T, T> nonAccumulativeStreamNotifications()
queuingStreamNotificationsback to summary
public static <T> NotificationAccumulator<Consumer<? super T>, T, Deque<T>> queuingStreamNotifications()
reducingStreamNotificationsback to summary
public static <T> NotificationAccumulator<Consumer<? super T>, T, T> reducingStreamNotifications(BinaryOperator<T> reduction)
retainLatestStreamNotificationsback to summary
public static <T> NotificationAccumulator<Consumer<? super T>, T, T> retainLatestStreamNotifications()
retainOldestValNotificationsback to summary
public static <T> NotificationAccumulator<Consumer<? super T>, T, T> retainOldestValNotifications()
takeOneback to summary
public Runnable takeOne()