50
50
import rx .operators .OnSubscribeRange ;
51
51
import rx .operators .OperationBuffer ;
52
52
import rx .operators .OperationCombineLatest ;
53
- import rx .operators .OperationConcat ;
54
53
import rx .operators .OperationDebounce ;
55
54
import rx .operators .OperationDefaultIfEmpty ;
56
55
import rx .operators .OperationDefer ;
95
94
import rx .operators .OperatorAsObservable ;
96
95
import rx .operators .OperatorCache ;
97
96
import rx .operators .OperatorCast ;
97
+ import rx .operators .OperatorConcat ;
98
98
import rx .operators .OperatorDoOnEach ;
99
99
import rx .operators .OperatorElementAt ;
100
100
import rx .operators .OperatorFilter ;
@@ -740,7 +740,7 @@ public final static <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> Observable<R> combin
740
740
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.concat.aspx">MSDN: Observable.Concat</a>
741
741
*/
742
742
public final static <T > Observable <T > concat (Observable <? extends Observable <? extends T >> observables ) {
743
- return create ( OperationConcat . concat ( observables ));
743
+ return observables . lift ( new OperatorConcat < T >( ));
744
744
}
745
745
746
746
/**
@@ -761,7 +761,7 @@ public final static <T> Observable<T> concat(Observable<? extends Observable<? e
761
761
@ SuppressWarnings ("unchecked" )
762
762
// suppress because the types are checked by the method signature before using a vararg
763
763
public final static <T > Observable <T > concat (Observable <? extends T > t1 , Observable <? extends T > t2 ) {
764
- return create ( OperationConcat . concat (t1 , t2 ));
764
+ return concat ( from (t1 , t2 ));
765
765
}
766
766
767
767
/**
@@ -784,7 +784,7 @@ public final static <T> Observable<T> concat(Observable<? extends T> t1, Observa
784
784
@ SuppressWarnings ("unchecked" )
785
785
// suppress because the types are checked by the method signature before using a vararg
786
786
public final static <T > Observable <T > concat (Observable <? extends T > t1 , Observable <? extends T > t2 , Observable <? extends T > t3 ) {
787
- return create ( OperationConcat . concat (t1 , t2 , t3 ));
787
+ return concat ( from (t1 , t2 , t3 ));
788
788
}
789
789
790
790
/**
@@ -809,7 +809,7 @@ public final static <T> Observable<T> concat(Observable<? extends T> t1, Observa
809
809
@ SuppressWarnings ("unchecked" )
810
810
// suppress because the types are checked by the method signature before using a vararg
811
811
public final static <T > Observable <T > concat (Observable <? extends T > t1 , Observable <? extends T > t2 , Observable <? extends T > t3 , Observable <? extends T > t4 ) {
812
- return create ( OperationConcat . concat (t1 , t2 , t3 , t4 ));
812
+ return concat ( from (t1 , t2 , t3 , t4 ));
813
813
}
814
814
815
815
/**
@@ -836,7 +836,7 @@ public final static <T> Observable<T> concat(Observable<? extends T> t1, Observa
836
836
@ SuppressWarnings ("unchecked" )
837
837
// suppress because the types are checked by the method signature before using a vararg
838
838
public final static <T > Observable <T > concat (Observable <? extends T > t1 , Observable <? extends T > t2 , Observable <? extends T > t3 , Observable <? extends T > t4 , Observable <? extends T > t5 ) {
839
- return create ( OperationConcat . concat (t1 , t2 , t3 , t4 , t5 ));
839
+ return concat ( from (t1 , t2 , t3 , t4 , t5 ));
840
840
}
841
841
842
842
/**
@@ -865,7 +865,7 @@ public final static <T> Observable<T> concat(Observable<? extends T> t1, Observa
865
865
@ SuppressWarnings ("unchecked" )
866
866
// suppress because the types are checked by the method signature before using a vararg
867
867
public final static <T > Observable <T > concat (Observable <? extends T > t1 , Observable <? extends T > t2 , Observable <? extends T > t3 , Observable <? extends T > t4 , Observable <? extends T > t5 , Observable <? extends T > t6 ) {
868
- return create ( OperationConcat . concat (t1 , t2 , t3 , t4 , t5 , t6 ));
868
+ return concat ( from (t1 , t2 , t3 , t4 , t5 , t6 ));
869
869
}
870
870
871
871
/**
@@ -896,7 +896,7 @@ public final static <T> Observable<T> concat(Observable<? extends T> t1, Observa
896
896
@ SuppressWarnings ("unchecked" )
897
897
// suppress because the types are checked by the method signature before using a vararg
898
898
public final static <T > Observable <T > concat (Observable <? extends T > t1 , Observable <? extends T > t2 , Observable <? extends T > t3 , Observable <? extends T > t4 , Observable <? extends T > t5 , Observable <? extends T > t6 , Observable <? extends T > t7 ) {
899
- return create ( OperationConcat . concat (t1 , t2 , t3 , t4 , t5 , t6 , t7 ));
899
+ return concat ( from (t1 , t2 , t3 , t4 , t5 , t6 , t7 ));
900
900
}
901
901
902
902
/**
@@ -929,7 +929,7 @@ public final static <T> Observable<T> concat(Observable<? extends T> t1, Observa
929
929
@ SuppressWarnings ("unchecked" )
930
930
// suppress because the types are checked by the method signature before using a vararg
931
931
public final static <T > Observable <T > concat (Observable <? extends T > t1 , Observable <? extends T > t2 , Observable <? extends T > t3 , Observable <? extends T > t4 , Observable <? extends T > t5 , Observable <? extends T > t6 , Observable <? extends T > t7 , Observable <? extends T > t8 ) {
932
- return create ( OperationConcat . concat (t1 , t2 , t3 , t4 , t5 , t6 , t7 , t8 ));
932
+ return concat ( from (t1 , t2 , t3 , t4 , t5 , t6 , t7 , t8 ));
933
933
}
934
934
935
935
/**
@@ -964,7 +964,7 @@ public final static <T> Observable<T> concat(Observable<? extends T> t1, Observa
964
964
@ SuppressWarnings ("unchecked" )
965
965
// suppress because the types are checked by the method signature before using a vararg
966
966
public final static <T > Observable <T > concat (Observable <? extends T > t1 , Observable <? extends T > t2 , Observable <? extends T > t3 , Observable <? extends T > t4 , Observable <? extends T > t5 , Observable <? extends T > t6 , Observable <? extends T > t7 , Observable <? extends T > t8 , Observable <? extends T > t9 ) {
967
- return create ( OperationConcat . concat (t1 , t2 , t3 , t4 , t5 , t6 , t7 , t8 , t9 ));
967
+ return concat ( from (t1 , t2 , t3 , t4 , t5 , t6 , t7 , t8 , t9 ));
968
968
}
969
969
970
970
/**
0 commit comments