|
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.OperationRetry; |
89 | | -import rx.operators.OperationSample; |
90 | | -import rx.operators.OperationSequenceEqual; |
91 | | -import rx.operators.OperationSingle; |
92 | | -import rx.operators.OperationSkip; |
93 | | -import rx.operators.OperationSkipLast; |
94 | | -import rx.operators.OperationSkipUntil; |
95 | | -import rx.operators.OperationSkipWhile; |
96 | | -import rx.operators.OperationSum; |
97 | | -import rx.operators.OperationSwitch; |
98 | | -import rx.operators.OperationSynchronize; |
99 | | -import rx.operators.OperationTakeLast; |
100 | | -import rx.operators.OperationTakeTimed; |
101 | | -import rx.operators.OperationTakeUntil; |
102 | | -import rx.operators.OperationTakeWhile; |
103 | | -import rx.operators.OperationThrottleFirst; |
104 | | -import rx.operators.OperationTimeInterval; |
105 | | -import rx.operators.OperationTimer; |
106 | | -import rx.operators.OperationToMap; |
107 | | -import rx.operators.OperationToMultimap; |
108 | | -import rx.operators.OperationToObservableFuture; |
109 | | -import rx.operators.OperationUsing; |
110 | | -import rx.operators.OperationWindow; |
111 | | -import rx.operators.OperatorCast; |
112 | | -import rx.operators.OperatorDoOnEach; |
113 | | -import rx.operators.OperatorFilter; |
114 | | -import rx.operators.OperatorGroupBy; |
115 | | -import rx.operators.OperatorMap; |
116 | | -import rx.operators.OperatorMerge; |
117 | | -import rx.operators.OperatorObserveOn; |
118 | | -import rx.operators.OperatorOnErrorResumeNextViaFunction; |
119 | | -import rx.operators.OperatorOnErrorFlatMap; |
120 | | -import rx.operators.OperatorParallel; |
121 | | -import rx.operators.OperatorRepeat; |
122 | | -import rx.operators.OperatorScan; |
123 | | -import rx.operators.OperatorSubscribeOn; |
124 | | -import rx.operators.OperatorTake; |
125 | | -import rx.operators.OperatorTimeout; |
126 | | -import rx.operators.OperatorTimeoutWithSelector; |
127 | | -import rx.operators.OperatorTimestamp; |
128 | | -import rx.operators.OperatorToObservableList; |
129 | | -import rx.operators.OperatorToObservableSortedList; |
130 | | -import rx.operators.OperatorUnsubscribeOn; |
131 | | -import rx.operators.OperatorZip; |
132 | | -import rx.operators.OperatorZipIterable; |
| 52 | +import rx.operators.*; |
133 | 53 | import rx.plugins.RxJavaObservableExecutionHook; |
134 | 54 | import rx.plugins.RxJavaPlugins; |
135 | 55 | import rx.schedulers.Schedulers; |
@@ -6274,7 +6194,7 @@ public final Observable<T> singleOrDefault(T defaultValue, Func1<? super T, Bool |
6274 | 6194 | * @see <a href="https://github.com/Netflix/RxJava/wiki/Filtering-Observables#wiki-skip">RxJava Wiki: skip()</a> |
6275 | 6195 | */ |
6276 | 6196 | public final Observable<T> skip(int num) { |
6277 | | - return create(OperationSkip.skip(this, num)); |
| 6197 | + return lift(new OperatorSkip<T>(num)); |
6278 | 6198 | } |
6279 | 6199 |
|
6280 | 6200 | /** |
|
0 commit comments