Reconstructed too many codes

This commit is contained in:
huanghongxun
2015-12-09 21:03:56 +08:00
parent 8e2fa57868
commit a436e10d93
38 changed files with 606 additions and 822 deletions

View File

@@ -2478,6 +2478,10 @@ public class Observable<T> {
public Observable<T> where(Func1<T, Boolean> predicate) {
return where(this, predicate);
}
public final <R> Observable<R> flatMap(Func1<? super T, ? extends Observable<? extends R>> func) {
return merge(map(func));
}
/**
* Returns the last element of an observable sequence with a specified source.