@@ -160,7 +160,6 @@ public static interface OnSubscribeFunc<T> extends Function {
160
160
* Observable
161
161
* @return an Observable that is the result of applying the lifted Operator to the source Observable
162
162
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Implementing-Your-Own-Operators">RxJava wiki: Implementing Your Own Operators</a>
163
- * @since 0.17
164
163
*/
165
164
public final <R> Observable<R> lift(final Operator<? extends R, ? super T> lift) {
166
165
return new Observable<R>(new OnSubscribe<R>() {
@@ -202,7 +201,6 @@ public void call(Subscriber<? super R> o) {
202
201
* @param transformer implements the function that transforms the source Observable
203
202
* @return the source Observable, transformed by the transformer function
204
203
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Implementing-Your-Own-Operators">RxJava wiki: Implementing Your Own Operators</a>
205
- * @since 0.20
206
204
*/
207
205
public <R> Observable<R> compose(Transformer<? super T, R> transformer) {
208
206
return transformer.call(this);
@@ -211,7 +209,6 @@ public <R> Observable<R> compose(Transformer<? super T, R> transformer) {
211
209
/**
212
210
* Transformer function used by {@link #compose}.
213
211
* @warn more complete description needed
214
- * @since 0.20
215
212
*/
216
213
public static interface Transformer<T, R> extends Func1<Observable<? extends T>, Observable<R>> {
217
214
// cover for generics insanity
@@ -2854,7 +2851,6 @@ public final static <T> Observable<T> mergeDelayError(Observable<? extends T> t1
2854
2851
* </dl>
2855
2852
*
2856
2853
* @return an Observable that emits a single item: the source Observable
2857
- * @since 0.17
2858
2854
*/
2859
2855
public final Observable<Observable<T>> nest() {
2860
2856
return just(this);
@@ -3693,7 +3689,6 @@ public final Observable<Boolean> all(Func1<? super T, Boolean> predicate) {
3693
3689
* emitted an item
3694
3690
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Conditional-and-Boolean-Operators#amb">RxJava wiki: amb</a>
3695
3691
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229733.aspx">MSDN: Observable.Amb</a>
3696
- * @since 0.20
3697
3692
*/
3698
3693
public final Observable<T> ambWith(Observable<? extends T> t1) {
3699
3694
return amb(this, t1);
@@ -4141,7 +4136,6 @@ public final Observable<T> cache() {
4141
4136
* @return an Observable that, when first subscribed to, caches all of its items and notifications for the
4142
4137
* benefit of subsequent subscribers
4143
4138
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable-Utility-Operators#cache">RxJava wiki: cache</a>
4144
- * @since 0.20
4145
4139
*/
4146
4140
public final Observable<T> cache(int capacity) {
4147
4141
return create(new OnSubscribeCache<T>(this, capacity));
@@ -4244,7 +4238,6 @@ public final <R> Observable<R> concatMap(Func1<? super T, ? extends Observable<?
4244
4238
* without interleaving them
4245
4239
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Mathematical-and-Aggregate-Operators#concat">RxJava wiki: concat</a>
4246
4240
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.concat.aspx">MSDN: Observable.Concat</a>
4247
- * @since 0.20
4248
4241
*/
4249
4242
public final Observable<T> concatWith(Observable<? extends T> t1) {
4250
4243
return concat(this, t1);
@@ -4865,7 +4858,6 @@ public final void onNext(T args) {
4865
4858
* the action that gets called when an observer subscribes to this {@code Observable}
4866
4859
* @return the source {@code Observable} modified so as to call this Action when appropriate
4867
4860
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable-Utility-Operators#doonsubscribe">RxJava wiki: doOnSubscribe</a>
4868
- * @since 0.20
4869
4861
*/
4870
4862
public final Observable<T> doOnSubscribe(final Action0 subscribe) {
4871
4863
return lift(new OperatorDoOnSubscribe<T>(subscribe));
@@ -4890,7 +4882,6 @@ public final Observable<T> doOnSubscribe(final Action0 subscribe) {
4890
4882
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable-Utility-Operators#doonterminate">RxJava wiki: doOnTerminate</a>
4891
4883
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229804.aspx">MSDN: Observable.Do</a>
4892
4884
* @see #finallyDo(Action0)
4893
- * @since 0.17
4894
4885
*/
4895
4886
public final Observable<T> doOnTerminate(final Action0 onTerminate) {
4896
4887
Observer<T> observer = new Observer<T>() {
@@ -4929,7 +4920,6 @@ public final void onNext(T args) {
4929
4920
* the action that gets called when this {@code Observable} is unsubscribed
4930
4921
* @return the source {@code Observable} modified so as to call this Action when appropriate
4931
4922
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable-Utility-Operators#doonunsubscribe">RxJava wiki: doOnUnsubscribe</a>
4932
- * @since 0.20
4933
4923
*/
4934
4924
public final Observable<T> doOnUnsubscribe(final Action0 unsubscribe) {
4935
4925
return lift(new OperatorDoOnUnsubscribe<T>(unsubscribe));
@@ -5182,7 +5172,6 @@ public final <R> Observable<R> flatMap(Func1<? super T, ? extends Observable<? e
5182
5172
* @return an Observable that emits the results of merging the Observables returned from applying the
5183
5173
* specified functions to the emissions and notifications of the source Observable
5184
5174
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Transforming-Observables#flatmap-concatmap-and-flatmapiterable">RxJava wiki: flatMap</a>
5185
- * @since 0.20
5186
5175
*/
5187
5176
public final <R> Observable<R> flatMap(
5188
5177
Func1<? super T, ? extends Observable<? extends R>> onNext,
@@ -5213,7 +5202,6 @@ public final <R> Observable<R> flatMap(
5213
5202
* @return an Observable that emits the results of applying a function to a pair of values emitted by the
5214
5203
* source Observable and the collection Observable
5215
5204
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Transforming-Observables#flatmap-concatmap-and-flatmapiterable">RxJava wiki: flatMap</a>
5216
- * @since 0.20
5217
5205
*/
5218
5206
public final <U, R> Observable<R> flatMap(final Func1<? super T, ? extends Observable<? extends U>> collectionSelector,
5219
5207
final Func2<? super T, ? super U, ? extends R> resultSelector) {
@@ -5238,7 +5226,6 @@ public final <U, R> Observable<R> flatMap(final Func1<? super T, ? extends Obser
5238
5226
* @return an Observable that emits the results of merging the items emitted by the source Observable with
5239
5227
* the values in the Iterables corresponding to those items, as generated by {@code collectionSelector}
5240
5228
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Transforming-Observables#flatmap-concatmap-and-flatmapiterable">RxJava wiki: flatMapIterable</a>
5241
- * @since 0.20
5242
5229
*/
5243
5230
public final <R> Observable<R> flatMapIterable(Func1<? super T, ? extends Iterable<? extends R>> collectionSelector) {
5244
5231
return merge(map(OperatorMapPair.convertSelector(collectionSelector)));
@@ -5267,7 +5254,6 @@ public final <R> Observable<R> flatMapIterable(Func1<? super T, ? extends Iterab
5267
5254
* @return an Observable that emits the items returned by {@code resultSelector} for each item in the source
5268
5255
* Observable
5269
5256
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Transforming-Observables#flatmap-concatmap-and-flatmapiterable">RxJava wiki: flatMapIterable</a>
5270
- * @since 0.20
5271
5257
*/
5272
5258
public final <U, R> Observable<R> flatMapIterable(Func1<? super T, ? extends Iterable<? extends U>> collectionSelector,
5273
5259
Func2<? super T, ? super U, ? extends R> resultSelector) {
@@ -5291,7 +5277,6 @@ public final <U, R> Observable<R> flatMapIterable(Func1<? super T, ? extends Ite
5291
5277
* if {@code onComplete} is null
5292
5278
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable#onnext-oncompleted-and-onerror">RxJava wiki: onNext, onCompleted, and onError</a>
5293
5279
* @see <a href="http://msdn.microsoft.com/en-us/library/hh211815.aspx">MSDN: Observable.ForEach</a>
5294
- * @since 0.19
5295
5280
*/
5296
5281
public final void forEach(final Action1<? super T> onNext) {
5297
5282
subscribe(onNext);
@@ -5316,7 +5301,6 @@ public final void forEach(final Action1<? super T> onNext) {
5316
5301
* if {@code onComplete} is null
5317
5302
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable#onnext-oncompleted-and-onerror">RxJava wiki: onNext, onCompleted, and onError</a>
5318
5303
* @see <a href="http://msdn.microsoft.com/en-us/library/hh211815.aspx">MSDN: Observable.ForEach</a>
5319
- * @since 0.19
5320
5304
*/
5321
5305
public final void forEach(final Action1<? super T> onNext, final Action1<Throwable> onError) {
5322
5306
subscribe(onNext, onError);
@@ -5343,7 +5327,6 @@ public final void forEach(final Action1<? super T> onNext, final Action1<Throwab
5343
5327
* if {@code onComplete} is null
5344
5328
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable#onnext-oncompleted-and-onerror">RxJava wiki: onNext, onCompleted, and onError</a>
5345
5329
* @see <a href="http://msdn.microsoft.com/en-us/library/hh211815.aspx">MSDN: Observable.ForEach</a>
5346
- * @since 0.19
5347
5330
*/
5348
5331
public final void forEach(final Action1<? super T> onNext, final Action1<Throwable> onError, final Action0 onComplete) {
5349
5332
subscribe(onNext, onError, onComplete);
@@ -5382,7 +5365,6 @@ public final void forEach(final Action1<? super T> onNext, final Action1<Throwab
5382
5365
* key value
5383
5366
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Transforming-Observables#groupby-and-groupbyuntil">RxJava wiki: groupBy</a>
5384
5367
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.groupby.aspx">MSDN: Observable.GroupBy</a>
5385
- * @since 0.20
5386
5368
*/
5387
5369
public final <K, R> Observable<GroupedObservable<K, R>> groupBy(final Func1<? super T, ? extends K> keySelector, final Func1<? super T, ? extends R> elementSelector) {
5388
5370
return lift(new OperatorGroupBy<T, K, R>(keySelector, elementSelector));
@@ -5700,7 +5682,6 @@ public final Observable<T> lastOrDefault(T defaultValue, Func1<? super T, Boolea
5700
5682
* @return an Observable that emits only the first {@code num} items emitted by the source Observable, or
5701
5683
* all of the items from the source Observable if that Observable emits fewer than {@code num} items
5702
5684
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Filtering-Observables#take">RxJava wiki: take</a>
5703
- * @since 0.19
5704
5685
*/
5705
5686
public final Observable<T> limit(int num) {
5706
5687
return take(num);
@@ -5940,7 +5921,6 @@ public final <U, R> Observable<R> mergeMapIterable(Func1<? super T, ? extends It
5940
5921
* @return an Observable that emits all of the items emitted by the source Observables
5941
5922
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Combining-Observables#merge">RxJava wiki: merge</a>
5942
5923
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229099.aspx">MSDN: Observable.Merge</a>
5943
- * @since 0.20
5944
5924
*/
5945
5925
public final Observable<T> mergeWith(Observable<? extends T> t1) {
5946
5926
return merge(this, t1);
@@ -6040,7 +6020,6 @@ public final <R> ConnectableObservable<R> multicast(final Subject<? super T, ? e
6040
6020
* into the specified {@link Subject}
6041
6021
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Connectable-Observable-Operators#observablepublish-and-observablemulticast">RxJava wiki: Observable.publish and Observable.multicast</a>
6042
6022
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229708.aspx">MSDN: Observable.Multicast</a>
6043
- * @since 0.20
6044
6023
*/
6045
6024
public final <R> ConnectableObservable<R> multicast(Func0<? extends Subject<? super T, ? extends R>> subjectFactory) {
6046
6025
return new OperatorMulticast<T, R>(this, subjectFactory);
@@ -6103,7 +6082,6 @@ public final Boolean call(T t) {
6103
6082
*
6104
6083
* @return the source Observable modified to buffer items to the extent system resources allow
6105
6084
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Backpressure">RxJava wiki: Backpressure</a>
6106
- * @since 0.20
6107
6085
*/
6108
6086
public final Observable<T> onBackpressureBuffer() {
6109
6087
return lift(new OperatorOnBackpressureBuffer<T>());
@@ -6124,7 +6102,6 @@ public final Observable<T> onBackpressureBuffer() {
6124
6102
*
6125
6103
* @return the source Observable modified to drop {@code onNext} notifications on overflow
6126
6104
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Backpressure">RxJava wiki: Backpressure</a>
6127
- * @since 0.20
6128
6105
*/
6129
6106
public final Observable<T> onBackpressureDrop() {
6130
6107
return lift(new OperatorOnBackpressureDrop<T>());
@@ -6245,7 +6222,6 @@ public final Observable<T> onErrorReturn(Func1<Throwable, ? extends T> resumeFun
6245
6222
* of the error
6246
6223
* @return the original Observable, with appropriately modified behavior
6247
6224
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Phantom-Operators#onerrorflatmap">RxJava wiki: onErrorFlatMap</a>
6248
- * @since 0.17
6249
6225
* @deprecated see https://github.com/ReactiveX/RxJava/issues/1465
6250
6226
*/
6251
6227
@Deprecated
@@ -6660,7 +6636,6 @@ public final Observable<T> repeat(Scheduler scheduler) {
6660
6636
* if {@code count} is less than zero
6661
6637
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Creating-Observables#repeat">RxJava wiki: repeat</a>
6662
6638
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229428.aspx">MSDN: Observable.Repeat</a>
6663
- * @since 0.17
6664
6639
*/
6665
6640
public final Observable<T> repeat(final long count) {
6666
6641
return OnSubscribeRedo.<T>repeat(this, count);
@@ -6685,7 +6660,6 @@ public final Observable<T> repeat(final long count) {
6685
6660
* {@code count} times on a particular Scheduler
6686
6661
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Creating-Observables#repeat">RxJava Wiki: repeat()</a>
6687
6662
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229428.aspx">MSDN: Observable.Repeat</a>
6688
- * @since 0.17
6689
6663
*/
6690
6664
public final Observable<T> repeat(final long count, Scheduler scheduler) {
6691
6665
return OnSubscribeRedo.<T>repeat(this, count, scheduler);
@@ -6712,7 +6686,6 @@ public final Observable<T> repeat(final long count, Scheduler scheduler) {
6712
6686
* @return the source Observable modified with repeat logic
6713
6687
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Creating-Observables#repeatwhen">RxJava Wiki: repeatWhen()</a>
6714
6688
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229428.aspx">MSDN: Observable.Repeat</a>
6715
- * @since 0.20
6716
6689
*/
6717
6690
public final Observable<T> repeatWhen(Func1<? super Observable<? extends Notification<?>>, ? extends Observable<?>> notificationHandler, Scheduler scheduler) {
6718
6691
return OnSubscribeRedo.repeat(this, notificationHandler, scheduler);
@@ -6737,7 +6710,6 @@ public final Observable<T> repeatWhen(Func1<? super Observable<? extends Notific
6737
6710
* @return the source Observable modified with repeat logic
6738
6711
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Creating-Observables#repeatwhen">RxJava Wiki: repeatWhen()</a>
6739
6712
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229428.aspx">MSDN: Observable.Repeat</a>
6740
- * @since 0.20
6741
6713
*/
6742
6714
public final Observable<T> repeatWhen(Func1<? super Observable<? extends Notification<?>>, ? extends Observable<?>> notificationHandler) {
6743
6715
return OnSubscribeRedo.repeat(this, notificationHandler);
@@ -7454,7 +7426,6 @@ public final Observable<T> retry(Func2<Integer, Throwable, Boolean> predicate) {
7454
7426
* retry
7455
7427
* @return the source Observable modified with retry logic
7456
7428
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Error-Handling-Operators#retrywhen">RxJava Wiki: retryWhen()</a>
7457
- * @since 0.20
7458
7429
*/
7459
7430
public final Observable<T> retryWhen(Func1<? super Observable<? extends Notification<?>>, ? extends Observable<?>> notificationHandler) {
7460
7431
return OnSubscribeRedo.<T> retry(this, notificationHandler);
@@ -7480,7 +7451,6 @@ public final Observable<T> retryWhen(Func1<? super Observable<? extends Notifica
7480
7451
* the {@link Scheduler} on which to subscribe to the source Observable
7481
7452
* @return the source Observable modified with retry logic
7482
7453
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Error-Handling-Operators#retrywhen">RxJava Wiki: retryWhen()</a>
7483
- * @since 0.20
7484
7454
*/
7485
7455
public final Observable<T> retryWhen(Func1<? super Observable<? extends Notification<?>>, ? extends Observable<?>> notificationHandler, Scheduler scheduler) {
7486
7456
return OnSubscribeRedo.<T> retry(this, notificationHandler, scheduler);
@@ -7646,7 +7616,6 @@ public final <R> Observable<R> scan(R initialValue, Func2<R, ? super T, R> accum
7646
7616
* its observers
7647
7617
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Observable-Utility-Operators#serialize">RxJava wiki: serialize</a>
7648
7618
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.synchronize.aspx">MSDN: Observable.Synchronize</a>
7649
- * @since 0.17
7650
7619
*/
7651
7620
public final Observable<T> serialize() {
7652
7621
return lift(new OperatorSerialize<T>());
@@ -7672,7 +7641,6 @@ public final Observable<T> serialize() {
7672
7641
* @return an {@code Observable} that upon connection causes the source {@code Observable} to emit items
7673
7642
* to its {@link Observer}s
7674
7643
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Connectable-Observable-Operators#connectableobservablerefcount">RxJava wiki: refCount</a>
7675
- * @since 0.19
7676
7644
*/
7677
7645
public final Observable<T> share() {
7678
7646
return publish().refCount();
@@ -8573,7 +8541,6 @@ public void onNext(T t) {
8573
8541
* the Subscriber that will handle emissions and notifications from the Observable
8574
8542
* @return a {@link Subscription} reference with which the {@link Subscriber} can stop receiving items
8575
8543
* before the Observable has completed
8576
- * @since 0.17
8577
8544
*/
8578
8545
public final Subscription unsafeSubscribe(Subscriber<? super T> subscriber) {
8579
8546
try {
@@ -9678,7 +9645,6 @@ public final BlockingObservable<T> toBlockingObservable() {
9678
9645
*
9679
9646
* @return a {@code BlockingObservable} version of this Observable
9680
9647
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Blocking-Observable-Operators">RxJava wiki: Blocking Observable Operators</a>
9681
- * @since 0.19
9682
9648
*/
9683
9649
public final BlockingObservable<T> toBlocking() {
9684
9650
return BlockingObservable.from(this);
@@ -9957,7 +9923,6 @@ public final Observable<List<T>> toSortedList(Func2<? super T, ? super T, Intege
9957
9923
* the {@link Scheduler} to perform unsubscription actions on
9958
9924
* @return the source Observable modified so that its unsubscriptions happen on the specified
9959
9925
* {@link Scheduler}
9960
- * @since 0.17
9961
9926
*/
9962
9927
public final Observable<T> unsubscribeOn(Scheduler scheduler) {
9963
9928
return lift(new OperatorUnsubscribeOn<T>(scheduler));
@@ -10376,7 +10341,6 @@ public final <T2, R> Observable<R> zip(Iterable<? extends T2> other, Func2<? sup
10376
10341
* sequence and emits the results of {@code zipFunction} applied to these pairs
10377
10342
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Combining-Observables#zip">RxJava wiki: zip</a>
10378
10343
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.zip.aspx">MSDN: Observable.Zip</a>
10379
- * @since 0.20
10380
10344
*/
10381
10345
public final <T2, R> Observable<R> zipWith(Iterable<? extends T2> other, Func2<? super T, ? super T2, ? extends R> zipFunction) {
10382
10346
return lift(new OperatorZipIterable<T, T2, R>(other, zipFunction));
@@ -10436,7 +10400,6 @@ public final <T2, R> Observable<R> zip(Observable<? extends T2> other, Func2<? s
10436
10400
* and emits the results of {@code zipFunction} applied to these pairs
10437
10401
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Combining-Observables#zip">RxJava wiki: zip</a>
10438
10402
* @see <a href="http://msdn.microsoft.com/en-us/library/system.reactive.linq.observable.zip.aspx">MSDN: Observable.Zip</a>
10439
- * @since 0.20
10440
10403
*/
10441
10404
public final <T2, R> Observable<R> zipWith(Observable<? extends T2> other, Func2<? super T, ? super T2, ? extends R> zipFunction) {
10442
10405
return zip(this, other, zipFunction);
0 commit comments