T
- the source sequence element typeU
- the the accumulated typeV
- the result typepublic final class AggregateIterable<T,U,V>
extends java.lang.Object
implements java.lang.Iterable<V>
public AggregateIterable(java.lang.Iterable<? extends T> source, rx.functions.Func2<? super U,? super T,? extends U> sum, rx.functions.Func2<? super U,? super java.lang.Integer,? extends V> divide)
source
- the source sequencesum
- the sum functiondivide
- the division function