R
- the result typepublic final class OperatorZip<R> extends java.lang.Object implements Observable.Operator<R,Observable<?>[]>
The zip operation applies this function in strict sequence, so the first item emitted by the new Observable will be the result of the function applied to the first item emitted by each zipped Observable; the second item emitted by the new Observable will be the result of the function applied to the second item emitted by each zipped Observable; and so forth.
The resulting Observable returned from zip will invoke onNext
as many times as the
number of onNext
invocations of the source Observable that emits the fewest items.
Constructor and Description |
---|
OperatorZip(Func2 f) |
OperatorZip(Func3 f) |
OperatorZip(Func4 f) |
OperatorZip(Func5 f) |
OperatorZip(Func6 f) |
OperatorZip(Func7 f) |
OperatorZip(Func8 f) |
OperatorZip(Func9 f) |
OperatorZip(FuncN<? extends R> f) |
Modifier and Type | Method and Description |
---|---|
Subscriber<? super Observable[]> |
call(Subscriber<? super R> child) |
public OperatorZip(Func2 f)
public OperatorZip(Func3 f)
public OperatorZip(Func4 f)
public OperatorZip(Func5 f)
public OperatorZip(Func6 f)
public OperatorZip(Func7 f)
public OperatorZip(Func8 f)
public OperatorZip(Func9 f)
public Subscriber<? super Observable[]> call(Subscriber<? super R> child)
call
in interface Func1<Subscriber<? super R>,Subscriber<? super Observable<?>[]>>