|
49 | 49 | import rx.observables.ConnectableObservable; |
50 | 50 | import rx.observables.GroupedObservable; |
51 | 51 | import rx.observers.SafeSubscriber; |
52 | | -import rx.operators.OnSubscribeFromIterable; |
53 | | -import rx.operators.OnSubscribeRange; |
54 | | -import rx.operators.OperationAll; |
55 | | -import rx.operators.OperationAmb; |
56 | | -import rx.operators.OperationAny; |
57 | | -import rx.operators.OperationAsObservable; |
58 | | -import rx.operators.OperationAverage; |
59 | | -import rx.operators.OperationBuffer; |
60 | | -import rx.operators.OperationCache; |
61 | | -import rx.operators.OperationCombineLatest; |
62 | | -import rx.operators.OperationConcat; |
63 | | -import rx.operators.OperationDebounce; |
64 | | -import rx.operators.OperationDefaultIfEmpty; |
65 | | -import rx.operators.OperationDefer; |
66 | | -import rx.operators.OperationDelay; |
67 | | -import rx.operators.OperationDematerialize; |
68 | | -import rx.operators.OperationDistinct; |
69 | | -import rx.operators.OperationDistinctUntilChanged; |
70 | | -import rx.operators.OperationElementAt; |
71 | | -import rx.operators.OperationFinally; |
72 | | -import rx.operators.OperationFlatMap; |
73 | | -import rx.operators.OperationGroupByUntil; |
74 | | -import rx.operators.OperationGroupJoin; |
75 | | -import rx.operators.OperationInterval; |
76 | | -import rx.operators.OperationJoin; |
77 | | -import rx.operators.OperationJoinPatterns; |
78 | | -import rx.operators.OperationMaterialize; |
79 | | -import rx.operators.OperationMergeDelayError; |
80 | | -import rx.operators.OperationMergeMaxConcurrent; |
81 | | -import rx.operators.OperationMinMax; |
82 | | -import rx.operators.OperationMulticast; |
83 | | -import rx.operators.OperationOnErrorResumeNextViaObservable; |
84 | | -import rx.operators.OperationOnErrorReturn; |
85 | | -import rx.operators.OperationOnExceptionResumeNextViaObservable; |
86 | | -import rx.operators.OperationParallelMerge; |
87 | | -import rx.operators.OperationReplay; |
88 | | -import rx.operators.OperationSample; |
89 | | -import rx.operators.OperationSequenceEqual; |
90 | | -import rx.operators.OperationSingle; |
91 | | -import rx.operators.OperationSkip; |
92 | | -import rx.operators.OperationSkipLast; |
93 | | -import rx.operators.OperationSkipUntil; |
94 | | -import rx.operators.OperationSkipWhile; |
95 | | -import rx.operators.OperationSum; |
96 | | -import rx.operators.OperationSwitch; |
97 | | -import rx.operators.OperationSynchronize; |
98 | | -import rx.operators.OperationTakeLast; |
99 | | -import rx.operators.OperationTakeTimed; |
100 | | -import rx.operators.OperationTakeUntil; |
101 | | -import rx.operators.OperationTakeWhile; |
102 | | -import rx.operators.OperationThrottleFirst; |
103 | | -import rx.operators.OperationTimeInterval; |
104 | | -import rx.operators.OperationTimer; |
105 | | -import rx.operators.OperationToMap; |
106 | | -import rx.operators.OperationToMultimap; |
107 | | -import rx.operators.OperationToObservableFuture; |
108 | | -import rx.operators.OperationUsing; |
109 | | -import rx.operators.OperationWindow; |
110 | | -import rx.operators.OperatorCast; |
111 | | -import rx.operators.OperatorDoOnEach; |
112 | | -import rx.operators.OperatorFilter; |
113 | | -import rx.operators.OperatorGroupBy; |
114 | | -import rx.operators.OperatorMap; |
115 | | -import rx.operators.OperatorMerge; |
116 | | -import rx.operators.OperatorObserveOn; |
117 | | -import rx.operators.OperatorOnErrorFlatMap; |
118 | | -import rx.operators.OperatorOnErrorResumeNextViaFunction; |
119 | | -import rx.operators.OperatorParallel; |
120 | | -import rx.operators.OperatorRepeat; |
121 | | -import rx.operators.OperatorRetry; |
122 | | -import rx.operators.OperatorScan; |
123 | | -import rx.operators.OperatorSkip; |
124 | | -import rx.operators.OperatorSubscribeOn; |
125 | | -import rx.operators.OperatorTake; |
126 | | -import rx.operators.OperatorTimeout; |
127 | | -import rx.operators.OperatorTimeoutWithSelector; |
128 | | -import rx.operators.OperatorTimestamp; |
129 | | -import rx.operators.OperatorToObservableList; |
130 | | -import rx.operators.OperatorToObservableSortedList; |
131 | | -import rx.operators.OperatorUnsubscribeOn; |
132 | | -import rx.operators.OperatorZip; |
133 | | -import rx.operators.OperatorZipIterable; |
| 52 | +import rx.operators.*; |
134 | 53 | import rx.plugins.RxJavaObservableExecutionHook; |
135 | 54 | import rx.plugins.RxJavaPlugins; |
136 | 55 | import rx.schedulers.Schedulers; |
@@ -3461,7 +3380,7 @@ public final <R> Observable<R> aggregate(R initialValue, Func2<R, ? super T, R> |
3461 | 3380 | * @see <a href="https://github.com/Netflix/RxJava/wiki/Conditional-and-Boolean-Operators#wiki-all">RxJava Wiki: all()</a> |
3462 | 3381 | */ |
3463 | 3382 | public final Observable<Boolean> all(Func1<? super T, Boolean> predicate) { |
3464 | | - return create(OperationAll.all(this, predicate)); |
| 3383 | + return lift(new OperatorAll<T>(predicate)); |
3465 | 3384 | } |
3466 | 3385 |
|
3467 | 3386 | /** |
|
0 commit comments