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>
Constructor and Description |
---|
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)
Constructor, initializes the fields.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<V> |
iterator() |
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