public final class PatternN extends Object
Constructor and Description |
---|
PatternN(List<Observable<? extends Object>> observables) |
PatternN(List<Observable<? extends Object>> observables,
Observable<? extends Object> other) |
Modifier and Type | Method and Description |
---|---|
PatternN |
and(Observable<? extends Object> other)
Creates a pattern that matches when all previous observable sequences have an available element.
|
<R> Plan<R> |
then(Function<? super Object[],R> selector)
Matches when all observable sequences have an available
element and projects the elements by invoking the selector function.
|
public PatternN(List<Observable<? extends Object>> observables)
public PatternN(List<Observable<? extends Object>> observables, Observable<? extends Object> other)
public PatternN and(Observable<? extends Object> other)
other
- Observable sequence to match with the previous sequences.public <R> Plan<R> then(Function<? super Object[],R> selector)
R
- the result typeselector
- the function that will be invoked for elements in the source sequences.NullPointerException
- if selector is null