Uses of Package
org.aksw.commons.rx.op
Packages that use org.aksw.commons.rx.op
-
Classes in org.aksw.commons.rx.op used by org.aksw.commons.rx.opClassDescriptionSequential group by; somewhat similar to .toListWhile() but with dedicated support for group keys and accumulators The constructor lambda for accumulators receives the count of so far created accumulators (starting with 0) and the group key.Track all seen items of the downstream flowable.
Flowable<Entry<Integer, List<Integer>>> list = Flowable .range(0, 10) .map(i -> Maps.immutableEntry((int)(i / 3), i)) .lift(FlowableOperatorSequentialGroupBy.<Entry<Integer, Integer>, Integer, List<Integer>>create(Entry::getKey, ArrayList::new, (acc, e) -> acc.add(e.getValue())));Operator that fires a callback every time it has seen a configurable number of items.