@@ -12657,7 +12657,7 @@ public final Single<List<T>> toList(final int capacityHint) {
12657
12657
* Returns a Single that emits a single item, a list composed of all the items emitted by the
12658
12658
* finite source ObservableSource.
12659
12659
* <p>
12660
- * <img width="640" height="305 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/toList.2 .png" alt="">
12660
+ * <img width="640" height="365 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/toList.o.c .png" alt="">
12661
12661
* <p>
12662
12662
* Normally, an ObservableSource that returns multiple items will do so by invoking its {@link Observer}'s
12663
12663
* {@link Observer#onNext onNext} method for each such item. You can change this behavior, instructing the
@@ -12910,6 +12910,30 @@ public final <K, V> Single<Map<K, Collection<V>>> toMultimap(
12910
12910
12911
12911
/**
12912
12912
* Converts the current Observable into a Flowable by applying the specified backpressure strategy.
12913
+ * <p>
12914
+ * Marble diagrams for the various backpressure strategies are as follows:
12915
+ * <ul>
12916
+ * <li>{@link BackpressureStrategy#BUFFER}
12917
+ * <p>
12918
+ * <img width="640" height="274" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/toFlowable.o.buffer.png" alt="">
12919
+ * </li>
12920
+ * <li>{@link BackpressureStrategy#DROP}
12921
+ * <p>
12922
+ * <img width="640" height="389" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/toFlowable.o.drop.png" alt="">
12923
+ * </li>
12924
+ * <li>{@link BackpressureStrategy#LATEST}
12925
+ * <p>
12926
+ * <img width="640" height="296" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/toFlowable.o.latest.png" alt="">
12927
+ * </li>
12928
+ * <li>{@link BackpressureStrategy#ERROR}
12929
+ * <p>
12930
+ * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/toFlowable.o.error.png" alt="">
12931
+ * </li>
12932
+ * <li>{@link BackpressureStrategy#MISSING}
12933
+ * <p>
12934
+ * <img width="640" height="411" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/toFlowable.o.missing.png" alt="">
12935
+ * </li>
12936
+ * </ul>
12913
12937
* <dl>
12914
12938
* <dt><b>Backpressure:</b></dt>
12915
12939
* <dd>The operator applies the chosen backpressure strategy of {@link BackpressureStrategy} enum.</dd>
@@ -13046,6 +13070,8 @@ public final Single<List<T>> toSortedList(int capacityHint) {
13046
13070
/**
13047
13071
* Modifies the source ObservableSource so that subscribers will dispose it on a specified
13048
13072
* {@link Scheduler}.
13073
+ * <p>
13074
+ * <img width="640" height="452" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/unsubscribeOn.o.png" alt="">
13049
13075
* <dl>
13050
13076
* <dt><b>Scheduler:</b></dt>
13051
13077
* <dd>You specify which {@link Scheduler} this operator will use.</dd>
@@ -13908,6 +13934,8 @@ public final <U, R> Observable<R> zipWith(Iterable<U> other, BiFunction<? super
13908
13934
* Returns an Observable that emits items that are the result of applying a specified function to pairs of
13909
13935
* values, one each from the source ObservableSource and another specified ObservableSource.
13910
13936
* <p>
13937
+ * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
13938
+ * <p>
13911
13939
* The operator subscribes to its sources in order they are specified and completes eagerly if
13912
13940
* one of the sources is shorter than the rest while disposing the other sources. Therefore, it
13913
13941
* is possible those other sources will never be able to run to completion (and thus not calling
@@ -13919,8 +13947,6 @@ public final <U, R> Observable<R> zipWith(Iterable<U> other, BiFunction<? super
13919
13947
* <br>To work around this termination property,
13920
13948
* use {@link #doOnDispose(Action)} as well or use {@code using()} to do cleanup in case of completion
13921
13949
* or a dispose() call.
13922
- *
13923
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
13924
13950
* <dl>
13925
13951
* <dt><b>Scheduler:</b></dt>
13926
13952
* <dd>{@code zipWith} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -13951,6 +13977,8 @@ public final <U, R> Observable<R> zipWith(ObservableSource<? extends U> other,
13951
13977
* Returns an Observable that emits items that are the result of applying a specified function to pairs of
13952
13978
* values, one each from the source ObservableSource and another specified ObservableSource.
13953
13979
* <p>
13980
+ * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
13981
+ * <p>
13954
13982
* The operator subscribes to its sources in order they are specified and completes eagerly if
13955
13983
* one of the sources is shorter than the rest while disposing the other sources. Therefore, it
13956
13984
* is possible those other sources will never be able to run to completion (and thus not calling
@@ -13962,8 +13990,6 @@ public final <U, R> Observable<R> zipWith(ObservableSource<? extends U> other,
13962
13990
* <br>To work around this termination property,
13963
13991
* use {@link #doOnDispose(Action)} as well or use {@code using()} to do cleanup in case of completion
13964
13992
* or a dispose() call.
13965
- *
13966
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
13967
13993
* <dl>
13968
13994
* <dt><b>Scheduler:</b></dt>
13969
13995
* <dd>{@code zipWith} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -13996,6 +14022,8 @@ public final <U, R> Observable<R> zipWith(ObservableSource<? extends U> other,
13996
14022
* Returns an Observable that emits items that are the result of applying a specified function to pairs of
13997
14023
* values, one each from the source ObservableSource and another specified ObservableSource.
13998
14024
* <p>
14025
+ * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
14026
+ * <p>
13999
14027
* The operator subscribes to its sources in order they are specified and completes eagerly if
14000
14028
* one of the sources is shorter than the rest while disposing the other sources. Therefore, it
14001
14029
* is possible those other sources will never be able to run to completion (and thus not calling
@@ -14007,8 +14035,6 @@ public final <U, R> Observable<R> zipWith(ObservableSource<? extends U> other,
14007
14035
* <br>To work around this termination property,
14008
14036
* use {@link #doOnDispose(Action)} as well or use {@code using()} to do cleanup in case of completion
14009
14037
* or a dispose() call.
14010
- *
14011
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
14012
14038
* <dl>
14013
14039
* <dt><b>Scheduler:</b></dt>
14014
14040
* <dd>{@code zipWith} does not operate by default on a particular {@link Scheduler}.</dd>
0 commit comments