T1 - the first value typeT2 - the second value typeT3 - the third value typeT4 - the fourth value typeT5 - the fifth value typepublic final class Pattern5<T1,T2,T3,T4,T5>
extends java.lang.Object
| Constructor and Description |
|---|
Pattern5(io.reactivex.Observable<T1> o1,
io.reactivex.Observable<T2> o2,
io.reactivex.Observable<T3> o3,
io.reactivex.Observable<T4> o4,
io.reactivex.Observable<T5> o5) |
| Modifier and Type | Method and Description |
|---|---|
<T6> Pattern6<T1,T2,T3,T4,T5,T6> |
and(io.reactivex.Observable<T6> other)
Creates a pattern that matches when all five observable sequences have an available element.
|
<R> Plan<R> |
then(io.reactivex.functions.Function5<T1,T2,T3,T4,T5,R> selector)
Matches when all observable sequences have an available
element and projects the elements by invoking the selector function.
|
public <T6> Pattern6<T1,T2,T3,T4,T5,T6> and(io.reactivex.Observable<T6> other)
T6 - the value type of the extra Observableother - Observable sequence to match with the four previous sequences.public <R> Plan<R> then(io.reactivex.functions.Function5<T1,T2,T3,T4,T5,R> selector)
R - the result typeselector - the function that will be invoked for elements in the source sequences.java.lang.NullPointerException - if selector is null