public class OperationJoinPatterns
extends java.lang.Object
| Constructor and Description |
|---|
OperationJoinPatterns() |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> Pattern2<T1,T2> |
and(Observable<T1> left,
Observable<T2> right)
Creates a pattern that matches when both observable sequences have an available element.
|
static <T1,R> Plan0<R> |
then(Observable<T1> source,
Func1<T1,R> selector)
Matches when the observable sequence has an available element and projects the element by invoking the selector function.
|
static <R> Observable.OnSubscribeFunc<R> |
when(java.lang.Iterable<? extends Plan0<R>> plans)
Joins together the results from several patterns.
|
static <R> Observable.OnSubscribeFunc<R> |
when(Plan0<R>... plans)
Joins together the results from several patterns.
|
public static <T1,T2> Pattern2<T1,T2> and(Observable<T1> left, Observable<T2> right)
public static <T1,R> Plan0<R> then(Observable<T1> source, Func1<T1,R> selector)
public static <R> Observable.OnSubscribeFunc<R> when(Plan0<R>... plans)
public static <R> Observable.OnSubscribeFunc<R> when(java.lang.Iterable<? extends Plan0<R>> plans)