T1 - the first value typeT2 - the second value typeT3 - the third value typeT4 - the fourth value typeT5 - the fifth value typeT6 - the sixth value typeT7 - the sevent value typeT8 - the eighth value typepublic final class Pattern8<T1,T2,T3,T4,T5,T6,T7,T8> extends Object
| Constructor and Description |
|---|
Pattern8(Observable<T1> o1,
Observable<T2> o2,
Observable<T3> o3,
Observable<T4> o4,
Observable<T5> o5,
Observable<T6> o6,
Observable<T7> o7,
Observable<T8> o8) |
| Modifier and Type | Method and Description |
|---|---|
<T9> Pattern9<T1,T2,T3,T4,T5,T6,T7,T8,T9> |
and(Observable<T9> other)
Creates a pattern that matches when all eight observable sequences have an available element.
|
<R> Plan<R> |
then(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> selector)
Matches when all observable sequences have an available
element and projects the elements by invoking the selector function.
|
public Pattern8(Observable<T1> o1, Observable<T2> o2, Observable<T3> o3, Observable<T4> o4, Observable<T5> o5, Observable<T6> o6, Observable<T7> o7, Observable<T8> o8)
public <T9> Pattern9<T1,T2,T3,T4,T5,T6,T7,T8,T9> and(Observable<T9> other)
T9 - the value type of the extra Observableother - Observable sequence to match with the seven previous sequences.public <R> Plan<R> then(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> selector)
R - the result typeselector - the function that will be invoked for elements in the source sequences.NullPointerException - if selector is null