@@ -414,6 +414,8 @@ public static <T> Flowable<T> concatArrayEager(SingleSource<? extends T>... sour
414
414
/**
415
415
* Concatenates a Publisher sequence of SingleSources eagerly into a single stream of values.
416
416
* <p>
417
+ * <img width="640" height="307" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.concatEager.p.png" alt="">
418
+ * <p>
417
419
* Eager concatenation means that once a subscriber subscribes, this operator subscribes to all of the
418
420
* emitted source Publishers as they are observed. The operator buffers the values emitted by these
419
421
* Publishers and then drains them in order, each one after the previous one completes.
@@ -439,6 +441,8 @@ public static <T> Flowable<T> concatEager(Publisher<? extends SingleSource<? ext
439
441
/**
440
442
* Concatenates a sequence of SingleSources eagerly into a single stream of values.
441
443
* <p>
444
+ * <img width="640" height="319" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.concatEager.i.png" alt="">
445
+ * <p>
442
446
* Eager concatenation means that once a subscriber subscribes, this operator subscribes to all of the
443
447
* source SingleSources. The operator buffers the values emitted by these SingleSources and then drains them
444
448
* in order, each one after the previous one completes.
@@ -462,6 +466,8 @@ public static <T> Flowable<T> concatEager(Iterable<? extends SingleSource<? exte
462
466
/**
463
467
* Provides an API (via a cold Completable) that bridges the reactive world with the callback-style world.
464
468
* <p>
469
+ * <img width="640" height="454" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.create.png" alt="">
470
+ * <p>
465
471
* Example:
466
472
* <pre><code>
467
473
* Single.<Event>create(emitter -> {
@@ -808,6 +814,8 @@ public static <T> Single<T> just(final T item) {
808
814
/**
809
815
* Merges an Iterable sequence of SingleSource instances into a single Flowable sequence,
810
816
* running all SingleSources at once.
817
+ * <p>
818
+ * <img width="640" height="319" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.i.png" alt="">
811
819
* <dl>
812
820
* <dt><b>Backpressure:</b></dt>
813
821
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer.</dd>
@@ -843,6 +851,8 @@ public static <T> Flowable<T> merge(Iterable<? extends SingleSource<? extends T>
843
851
/**
844
852
* Merges a Flowable sequence of SingleSource instances into a single Flowable sequence,
845
853
* running all SingleSources at once.
854
+ * <p>
855
+ * <img width="640" height="307" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.p.png" alt="">
846
856
* <dl>
847
857
* <dt><b>Backpressure:</b></dt>
848
858
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer.</dd>
@@ -881,7 +891,7 @@ public static <T> Flowable<T> merge(Publisher<? extends SingleSource<? extends T
881
891
* Flattens a {@code Single} that emits a {@code Single} into a single {@code Single} that emits the item
882
892
* emitted by the nested {@code Single}, without any transformation.
883
893
* <p>
884
- * <img width="640" height="370 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.oo.png" alt="">
894
+ * <img width="640" height="412 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.oo.png" alt="">
885
895
* <dl>
886
896
* <dt><b>Scheduler:</b></dt>
887
897
* <dd>{@code merge} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -910,7 +920,7 @@ public static <T> Single<T> merge(SingleSource<? extends SingleSource<? extends
910
920
/**
911
921
* Flattens two Singles into a single Flowable, without any transformation.
912
922
* <p>
913
- * <img width="640" height="380 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.png" alt="">
923
+ * <img width="640" height="414 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.png" alt="">
914
924
* <p>
915
925
* You can combine items emitted by multiple Singles so that they appear as a single Flowable, by
916
926
* using the {@code merge} method.
@@ -958,7 +968,7 @@ public static <T> Flowable<T> merge(
958
968
/**
959
969
* Flattens three Singles into a single Flowable, without any transformation.
960
970
* <p>
961
- * <img width="640" height="380 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.png" alt="">
971
+ * <img width="640" height="366 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.o3 .png" alt="">
962
972
* <p>
963
973
* You can combine items emitted by multiple Singles so that they appear as a single Flowable, by using
964
974
* the {@code merge} method.
@@ -1010,7 +1020,7 @@ public static <T> Flowable<T> merge(
1010
1020
/**
1011
1021
* Flattens four Singles into a single Flowable, without any transformation.
1012
1022
* <p>
1013
- * <img width="640" height="380 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.png" alt="">
1023
+ * <img width="640" height="362 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge.o4 .png" alt="">
1014
1024
* <p>
1015
1025
* You can combine items emitted by multiple Singles so that they appear as a single Flowable, by using
1016
1026
* the {@code merge} method.
@@ -1299,6 +1309,8 @@ public static Single<Long> timer(final long delay, final TimeUnit unit, final Sc
1299
1309
1300
1310
/**
1301
1311
* Compares two SingleSources and emits true if they emit the same value (compared via Object.equals).
1312
+ * <p>
1313
+ * <img width="640" height="465" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.equals.png" alt="">
1302
1314
* <dl>
1303
1315
* <dt><b>Scheduler:</b></dt>
1304
1316
* <dd>{@code equals} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1913,6 +1925,8 @@ public static <T, R> Single<R> zipArray(Function<? super Object[], ? extends R>
1913
1925
1914
1926
/**
1915
1927
* Signals the event of this or the other SingleSource whichever signals first.
1928
+ * <p>
1929
+ * <img width="640" height="463" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.ambWith.png" alt="">
1916
1930
* <dl>
1917
1931
* <dt><b>Scheduler:</b></dt>
1918
1932
* <dd>{@code ambWith} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -1933,6 +1947,8 @@ public final Single<T> ambWith(SingleSource<? extends T> other) {
1933
1947
/**
1934
1948
* Calls the specified converter function during assembly time and returns its resulting value.
1935
1949
* <p>
1950
+ * <img width="640" height="553" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.as.png" alt="">
1951
+ * <p>
1936
1952
* This allows fluent conversion to any other type.
1937
1953
* <dl>
1938
1954
* <dt><b>Scheduler:</b></dt>
@@ -1972,6 +1988,8 @@ public final Single<T> hide() {
1972
1988
/**
1973
1989
* Transform a Single by applying a particular Transformer function to it.
1974
1990
* <p>
1991
+ * <img width="640" height="612" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.compose.png" alt="">
1992
+ * <p>
1975
1993
* This method operates on the Single itself whereas {@link #lift} operates on the Single's SingleObservers.
1976
1994
* <p>
1977
1995
* If the operator you are creating is designed to act on the individual item emitted by a Single, use
@@ -2281,7 +2299,10 @@ public final Single<T> delaySubscription(long time, TimeUnit unit, Scheduler sch
2281
2299
2282
2300
/**
2283
2301
* Calls the specified consumer with the success item after this item has been emitted to the downstream.
2284
- * <p>Note that the {@code doAfterSuccess} action is shared between subscriptions and as such
2302
+ * <p>
2303
+ * <img width="640" height="460" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.doAfterSuccess.png" alt="">
2304
+ * <p>
2305
+ * Note that the {@code doAfterSuccess} action is shared between subscriptions and as such
2285
2306
* should be thread-safe.
2286
2307
* <dl>
2287
2308
* <dt><b>Scheduler:</b></dt>
@@ -2301,10 +2322,12 @@ public final Single<T> doAfterSuccess(Consumer<? super T> onAfterSuccess) {
2301
2322
2302
2323
/**
2303
2324
* Registers an {@link Action} to be called after this Single invokes either onSuccess or onError.
2304
- * * <p>Note that the {@code doAfterTerminate} action is shared between subscriptions and as such
2305
- * should be thread-safe.</p>
2306
2325
* <p>
2307
- * <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/doAfterTerminate.png" alt="">
2326
+ * <img width="640" height="460" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.doAfterTerminate.png" alt="">
2327
+ * <p>
2328
+ * Note that the {@code doAfterTerminate} action is shared between subscriptions and as such
2329
+ * should be thread-safe.</p>
2330
+ *
2308
2331
* <dl>
2309
2332
* <dt><b>Scheduler:</b></dt>
2310
2333
* <dd>{@code doAfterTerminate} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -2884,7 +2907,7 @@ public final Single<Boolean> contains(final Object value, final BiPredicate<Obje
2884
2907
/**
2885
2908
* Flattens this and another Single into a single Flowable, without any transformation.
2886
2909
* <p>
2887
- * <img width="640" height="380 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.merge .png" alt="">
2910
+ * <img width="640" height="415 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.mergeWith .png" alt="">
2888
2911
* <p>
2889
2912
* You can combine items emitted by multiple Singles so that they appear as a single Flowable, by using
2890
2913
* the {@code mergeWith} method.
@@ -3654,6 +3677,8 @@ private Single<T> timeout0(final long timeout, final TimeUnit unit, final Schedu
3654
3677
/**
3655
3678
* Calls the specified converter function with the current Single instance
3656
3679
* during assembly time and returns its result.
3680
+ * <p>
3681
+ * <img width="640" height="553" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.to.png" alt="">
3657
3682
* <dl>
3658
3683
* <dt><b>Scheduler:</b></dt>
3659
3684
* <dd>{@code to} does not operate by default on a particular {@link Scheduler}.</dd>
0 commit comments