Package hu.akarnokd.rxjava3.joins
Class Pattern9<T1,T2,T3,T4,T5,T6,T7,T8,T9>
- java.lang.Object
-
- hu.akarnokd.rxjava3.joins.Pattern9<T1,T2,T3,T4,T5,T6,T7,T8,T9>
-
- Type Parameters:
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 typeT9- the ninth value type
public final class Pattern9<T1,T2,T3,T4,T5,T6,T7,T8,T9> extends java.lang.ObjectRepresents a join pattern over observable sequences.
-
-
Constructor Summary
Constructors Constructor Description Pattern9(Observable<T1> o1, Observable<T2> o2, Observable<T3> o3, Observable<T4> o4, Observable<T5> o5, Observable<T6> o6, Observable<T7> o7, Observable<T8> o8, Observable<T9> o9)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatternNand(Observable<? extends java.lang.Object> other)Creates a pattern that matches when all nine observable sequences have an available element.<R> Plan<R>then(Function9<T1,T2,T3,T4,T5,T6,T7,T8,T9,R> selector)Matches when all observable sequences have an available element and projects the elements by invoking the selector function.
-
-
-
Constructor Detail
-
Pattern9
public Pattern9(Observable<T1> o1, Observable<T2> o2, Observable<T3> o3, Observable<T4> o4, Observable<T5> o5, Observable<T6> o6, Observable<T7> o7, Observable<T8> o8, Observable<T9> o9)
-
-
Method Detail
-
and
public PatternN and(Observable<? extends java.lang.Object> other)
Creates a pattern that matches when all nine observable sequences have an available element.- Parameters:
other- Observable sequence to match with the eight previous sequences.- Returns:
- Pattern object that matches when all observable sequences have an available element.
-
then
public <R> Plan<R> then(Function9<T1,T2,T3,T4,T5,T6,T7,T8,T9,R> selector)
Matches when all observable sequences have an available element and projects the elements by invoking the selector function.- Type Parameters:
R- the result type- Parameters:
selector- the function that will be invoked for elements in the source sequences.- Returns:
- the plan for the matching
- Throws:
java.lang.NullPointerException- if selector is null
-
-