@@ -6026,76 +6026,6 @@ public final void onNext(T args) {
6026
6026
});
6027
6027
}
6028
6028
6029
- /**
6030
- * An {@link Observer} must call an Observable's {@code subscribe} method in order to receive items and
6031
- * notifications from the Observable.
6032
- *
6033
- * @param onNext
6034
- * FIXME FIXME FIXME
6035
- * @param onError
6036
- * FIXME FIXME FIXME
6037
- * @param onComplete
6038
- * FIXME FIXME FIXME
6039
- * @param scheduler
6040
- * FIXME FIXME FIXME
6041
- * @return a {@link Subscription} reference with which the {@link Observer} can stop receiving items before
6042
- * the Observable has finished sending them
6043
- * @see <a href="https://github.com/Netflix/RxJava/wiki/Observable#wiki-onnext-oncompleted-and-onerror">RxJava Wiki: onNext, onCompleted, and onError</a>
6044
- */
6045
- public final Subscription subscribe (final Action1 <? super T > onNext , final Action1 <Throwable > onError , final Action0 onComplete , Scheduler scheduler ) {
6046
- return subscribeOn (scheduler ).subscribe (onNext , onError , onComplete );
6047
- }
6048
-
6049
- /**
6050
- * An {@link Observer} must call an Observable's {@code subscribe} method in order to receive items and
6051
- * notifications from the Observable.
6052
- *
6053
- * @param onNext
6054
- * FIXME FIXME FIXME
6055
- * @param onError
6056
- * FIXME FIXME FIXME
6057
- * @param scheduler
6058
- * FIXME FIXME FIXME
6059
- * @return a {@link Subscription} reference with which the {@link Observer} can stop receiving items before
6060
- * the Observable has finished sending them
6061
- * @see <a href="https://github.com/Netflix/RxJava/wiki/Observable#wiki-onnext-oncompleted-and-onerror">RxJava Wiki: onNext, onCompleted, and onError</a>
6062
- */
6063
- public final Subscription subscribe (final Action1 <? super T > onNext , final Action1 <Throwable > onError , Scheduler scheduler ) {
6064
- return subscribeOn (scheduler ).subscribe (onNext , onError );
6065
- }
6066
-
6067
- /**
6068
- * An {@link Observer} must call an Observable's {@code subscribe} method in order to receive items and
6069
- * notifications from the Observable.
6070
- *
6071
- * @param onNext
6072
- * FIXME FIXME FIXME
6073
- * @param scheduler
6074
- * FIXME FIXME FIXME
6075
- * @return a {@link Subscription} reference with which the {@link Observer} can stop receiving items before
6076
- * the Observable has finished sending them
6077
- * @see <a href="https://github.com/Netflix/RxJava/wiki/Observable#wiki-onnext-oncompleted-and-onerror">RxJava Wiki: onNext, onCompleted, and onError</a>
6078
- */
6079
- public final Subscription subscribe (final Action1 <? super T > onNext , Scheduler scheduler ) {
6080
- return subscribeOn (scheduler ).subscribe (onNext );
6081
- }
6082
-
6083
- /**
6084
- * An {@link Observer} must subscribe to an Observable in order to receive items and notifications from the
6085
- * Observable.
6086
- *
6087
- * @param observer
6088
- * FIXME FIXME FIXME
6089
- * @param scheduler
6090
- * FIXME FIXME FIXME
6091
- * @return a {@link Subscription} reference with which the {@link Observer} can stop receiving items before
6092
- * the Observable has finished sending them
6093
- * @see <a href="https://github.com/Netflix/RxJava/wiki/Observable#wiki-onnext-oncompleted-and-onerror">RxJava Wiki: onNext, onCompleted, and onError</a>
6094
- */
6095
- public final Subscription subscribe (final Observer <? super T > observer , Scheduler scheduler ) {
6096
- return subscribeOn (scheduler ).subscribe (observer );
6097
- }
6098
-
6099
6029
/**
6100
6030
* An {@link Observer} must subscribe to an Observable in order to receive items and notifications from the
6101
6031
* Observable.
@@ -6241,38 +6171,6 @@ public void call() {
6241
6171
}
6242
6172
}
6243
6173
6244
- /**
6245
- * A {@link Subscriber} must call an Observable's {@code subscribe} method in order to receive items and
6246
- * notifications from the Observable.
6247
- * <p>
6248
- * A typical implementation of {@code subscribe} does the following:
6249
- * <ol>
6250
- * <li>It stores a reference to the Subscriber in a collection object, such as a {@code List<T>} object.</li>
6251
- * <li>It returns a reference to the {@link Subscription} interface. This enables Observers to unsubscribe,
6252
- * that is, to stop receiving items and notifications before the Observable stops sending them, which also
6253
- * invokes the Observer's {@link Observer#onCompleted onCompleted} method.</li>
6254
- * </ol><p>
6255
- * An {@code Observable<T>} instance is responsible for accepting all subscriptions and notifying all
6256
- * Subscribers. Unless the documentation for a particular {@code Observable<T>} implementation indicates
6257
- * otherwise, Subscribers should make no assumptions about the order in which multiple Subscribers will
6258
- * receive their notifications.
6259
- * <p>
6260
- * For more information see the
6261
- * <a href="https://github.com/Netflix/RxJava/wiki/Observable">RxJava Wiki</a>
6262
- *
6263
- * @param observer
6264
- * the {@link Subscriber}
6265
- * @param scheduler
6266
- * the {@link Scheduler} on which Subscribers subscribe to the Observable
6267
- * @return a {@link Subscription} reference with which Subscribers that are {@link Observer}s can
6268
- * unsubscribe from the Observable
6269
- * @throws IllegalArgumentException
6270
- * if an argument to {@code subscribe()} is {@code null}
6271
- */
6272
- public final Subscription subscribe (Subscriber <? super T > observer , Scheduler scheduler ) {
6273
- return subscribeOn (scheduler ).subscribe (observer );
6274
- }
6275
-
6276
6174
/**
6277
6175
* Asynchronously subscribes Observers to this Observable on the specified {@link Scheduler}.
6278
6176
* <p>
0 commit comments