@@ -1817,13 +1817,13 @@ public static <T> Maybe<T> wrap(MaybeSource<T> source) {
1817
1817
* Returns a Maybe that emits the results of a specified combiner function applied to combinations of
1818
1818
* items emitted, in sequence, by an Iterable of other MaybeSources.
1819
1819
* <p>
1820
+ * <img width="640" height="341" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zip.i.png" alt="">
1821
+ * <p>
1820
1822
* Note on method signature: since Java doesn't allow creating a generic array with {@code new T[]}, the
1821
1823
* implementation of this operator has to create an {@code Object[]} instead. Unfortunately, a
1822
1824
* {@code Function<Integer[], R>} passed to the method would trigger a {@code ClassCastException}.
1823
- *
1824
1825
* <p>
1825
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
1826
- * <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1826
+ * This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1827
1827
* also means it is possible some sources may not get subscribed to at all.
1828
1828
* <dl>
1829
1829
* <dt><b>Scheduler:</b></dt>
@@ -1853,8 +1853,9 @@ public static <T, R> Maybe<R> zip(Iterable<? extends MaybeSource<? extends T>> s
1853
1853
* Returns a Maybe that emits the results of a specified combiner function applied to combinations of
1854
1854
* two items emitted, in sequence, by two other MaybeSources.
1855
1855
* <p>
1856
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
1857
- * <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1856
+ * <img width="640" height="434" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zip.n.png" alt="">
1857
+ * <p>
1858
+ * This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1858
1859
* also means it is possible some sources may not get subscribed to at all.
1859
1860
* <dl>
1860
1861
* <dt><b>Scheduler:</b></dt>
@@ -1890,8 +1891,9 @@ public static <T1, T2, R> Maybe<R> zip(
1890
1891
* Returns a Maybe that emits the results of a specified combiner function applied to combinations of
1891
1892
* three items emitted, in sequence, by three other MaybeSources.
1892
1893
* <p>
1893
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
1894
- * <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1894
+ * <img width="640" height="434" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zip.n.png" alt="">
1895
+ * <p>
1896
+ * This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1895
1897
* also means it is possible some sources may not get subscribed to at all.
1896
1898
* <dl>
1897
1899
* <dt><b>Scheduler:</b></dt>
@@ -1931,8 +1933,9 @@ public static <T1, T2, T3, R> Maybe<R> zip(
1931
1933
* Returns a Maybe that emits the results of a specified combiner function applied to combinations of
1932
1934
* four items emitted, in sequence, by four other MaybeSources.
1933
1935
* <p>
1934
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
1935
- * <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1936
+ * <img width="640" height="434" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zip.n.png" alt="">
1937
+ * <p>
1938
+ * This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1936
1939
* also means it is possible some sources may not get subscribed to at all.
1937
1940
* <dl>
1938
1941
* <dt><b>Scheduler:</b></dt>
@@ -1977,8 +1980,9 @@ public static <T1, T2, T3, T4, R> Maybe<R> zip(
1977
1980
* Returns a Maybe that emits the results of a specified combiner function applied to combinations of
1978
1981
* five items emitted, in sequence, by five other MaybeSources.
1979
1982
* <p>
1980
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
1981
- * <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1983
+ * <img width="640" height="434" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zip.n.png" alt="">
1984
+ * <p>
1985
+ * This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
1982
1986
* also means it is possible some sources may not get subscribed to at all.
1983
1987
* <dl>
1984
1988
* <dt><b>Scheduler:</b></dt>
@@ -2027,8 +2031,9 @@ public static <T1, T2, T3, T4, T5, R> Maybe<R> zip(
2027
2031
* Returns a Maybe that emits the results of a specified combiner function applied to combinations of
2028
2032
* six items emitted, in sequence, by six other MaybeSources.
2029
2033
* <p>
2030
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
2031
- * <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
2034
+ * <img width="640" height="434" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zip.n.png" alt="">
2035
+ * <p>
2036
+ * This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
2032
2037
* also means it is possible some sources may not get subscribed to at all.
2033
2038
* <dl>
2034
2039
* <dt><b>Scheduler:</b></dt>
@@ -2081,8 +2086,9 @@ public static <T1, T2, T3, T4, T5, T6, R> Maybe<R> zip(
2081
2086
* Returns a Maybe that emits the results of a specified combiner function applied to combinations of
2082
2087
* seven items emitted, in sequence, by seven other MaybeSources.
2083
2088
* <p>
2084
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
2085
- * <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
2089
+ * <img width="640" height="434" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zip.n.png" alt="">
2090
+ * <p>
2091
+ * This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
2086
2092
* also means it is possible some sources may not get subscribed to at all.
2087
2093
* <dl>
2088
2094
* <dt><b>Scheduler:</b></dt>
@@ -2140,8 +2146,9 @@ public static <T1, T2, T3, T4, T5, T6, T7, R> Maybe<R> zip(
2140
2146
* Returns a Maybe that emits the results of a specified combiner function applied to combinations of
2141
2147
* eight items emitted, in sequence, by eight other MaybeSources.
2142
2148
* <p>
2143
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
2144
- * <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
2149
+ * <img width="640" height="434" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zip.n.png" alt="">
2150
+ * <p>
2151
+ * This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
2145
2152
* also means it is possible some sources may not get subscribed to at all.
2146
2153
* <dl>
2147
2154
* <dt><b>Scheduler:</b></dt>
@@ -2203,14 +2210,14 @@ public static <T1, T2, T3, T4, T5, T6, T7, T8, R> Maybe<R> zip(
2203
2210
* Returns a Maybe that emits the results of a specified combiner function applied to combinations of
2204
2211
* nine items emitted, in sequence, by nine other MaybeSources.
2205
2212
* <p>
2206
- * <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
2213
+ * <img width="640" height="434" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zip.n.png" alt="">
2214
+ * <p>
2215
+ * This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
2216
+ * also means it is possible some sources may not get subscribed to at all.
2207
2217
* <dl>
2208
2218
* <dt><b>Scheduler:</b></dt>
2209
2219
* <dd>{@code zip} does not operate by default on a particular {@link Scheduler}.</dd>
2210
2220
* </dl>
2211
- * <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
2212
- * also means it is possible some sources may not get subscribed to at all.
2213
- *
2214
2221
* @param <T1> the value type of the first source
2215
2222
* @param <T2> the value type of the second source
2216
2223
* @param <T3> the value type of the third source
@@ -2276,7 +2283,7 @@ public static <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> Maybe<R> zip(
2276
2283
* {@code Function<Integer[], R>} passed to the method would trigger a {@code ClassCastException}.
2277
2284
*
2278
2285
* <p>
2279
- * <img width="640" height="380 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip .png" alt="">
2286
+ * <img width="640" height="341 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zipArray .png" alt="">
2280
2287
* <p>This operator terminates eagerly if any of the source MaybeSources signal an onError or onComplete. This
2281
2288
* also means it is possible some sources may not get subscribed to at all.
2282
2289
* <dl>
@@ -2408,6 +2415,8 @@ public final Maybe<T> cache() {
2408
2415
/**
2409
2416
* Casts the success value of the current Maybe into the target type or signals a
2410
2417
* ClassCastException if not compatible.
2418
+ * <p>
2419
+ * <img width="640" height="318" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.cast.png" alt="">
2411
2420
* <dl>
2412
2421
* <dt><b>Scheduler:</b></dt>
2413
2422
* <dd>{@code cast} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -2504,7 +2513,7 @@ public final Flowable<T> concatWith(MaybeSource<? extends T> other) {
2504
2513
* Returns a Single that emits a Boolean that indicates whether the source Maybe emitted a
2505
2514
* specified item.
2506
2515
* <p>
2507
- * <img width="640" height="320 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/contains.png" alt="">
2516
+ * <img width="640" height="310 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe. contains.o .png" alt="">
2508
2517
* <dl>
2509
2518
* <dt><b>Scheduler:</b></dt>
2510
2519
* <dd>{@code contains} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -2537,7 +2546,6 @@ public final Single<Boolean> contains(final Object item) {
2537
2546
* @return a Single that emits a single item: the number of items emitted by the source Maybe as a
2538
2547
* 64-bit Long item
2539
2548
* @see <a href="http://reactivex.io/documentation/operators/count.html">ReactiveX operators documentation: Count</a>
2540
- * @see #count()
2541
2549
*/
2542
2550
@ CheckReturnValue
2543
2551
@ SchedulerSupport (SchedulerSupport .NONE )
@@ -2585,6 +2593,7 @@ public final Single<T> defaultIfEmpty(T defaultItem) {
2585
2593
* the {@link TimeUnit} in which {@code period} is defined
2586
2594
* @return the new Maybe instance
2587
2595
* @see <a href="http://reactivex.io/documentation/operators/delay.html">ReactiveX operators documentation: Delay</a>
2596
+ * @see #delay(long, TimeUnit, Scheduler)
2588
2597
*/
2589
2598
@ CheckReturnValue
2590
2599
@ SchedulerSupport (SchedulerSupport .COMPUTATION )
@@ -2654,6 +2663,8 @@ public final <U, V> Maybe<T> delay(Publisher<U> delayIndicator) {
2654
2663
/**
2655
2664
* Returns a Maybe that delays the subscription to this Maybe
2656
2665
* until the other Publisher emits an element or completes normally.
2666
+ * <p>
2667
+ * <img width="640" height="214" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.delaySubscription.p.png" alt="">
2657
2668
* <dl>
2658
2669
* <dt><b>Backpressure:</b></dt>
2659
2670
* <dd>The {@code Publisher} source is consumed in an unbounded fashion (without applying backpressure).</dd>
@@ -2679,7 +2690,7 @@ public final <U> Maybe<T> delaySubscription(Publisher<U> subscriptionIndicator)
2679
2690
/**
2680
2691
* Returns a Maybe that delays the subscription to the source Maybe by a given amount of time.
2681
2692
* <p>
2682
- * <img width="640" height="310 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/delaySubscription.png" alt="">
2693
+ * <img width="640" height="471 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe. delaySubscription.t .png" alt="">
2683
2694
* <dl>
2684
2695
* <dt><b>Scheduler:</b></dt>
2685
2696
* <dd>This version of {@code delaySubscription} operates by default on the {@code computation} {@link Scheduler}.</dd>
@@ -2691,6 +2702,7 @@ public final <U> Maybe<T> delaySubscription(Publisher<U> subscriptionIndicator)
2691
2702
* the time unit of {@code delay}
2692
2703
* @return a Maybe that delays the subscription to the source Maybe by the given amount
2693
2704
* @see <a href="http://reactivex.io/documentation/operators/delay.html">ReactiveX operators documentation: Delay</a>
2705
+ * @see #delaySubscription(long, TimeUnit, Scheduler)
2694
2706
*/
2695
2707
@ CheckReturnValue
2696
2708
@ SchedulerSupport (SchedulerSupport .COMPUTATION )
@@ -2702,7 +2714,7 @@ public final Maybe<T> delaySubscription(long delay, TimeUnit unit) {
2702
2714
* Returns a Maybe that delays the subscription to the source Maybe by a given amount of time,
2703
2715
* both waiting and subscribing on a given Scheduler.
2704
2716
* <p>
2705
- * <img width="640" height="310 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/delaySubscription.s .png" alt="">
2717
+ * <img width="640" height="420 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe. delaySubscription.ts .png" alt="">
2706
2718
* <dl>
2707
2719
* <dt><b>Scheduler:</b></dt>
2708
2720
* <dd>You specify which {@link Scheduler} this operator will use.</dd>
@@ -2884,6 +2896,8 @@ public final Maybe<T> doOnError(Consumer<? super Throwable> onError) {
2884
2896
* an onError or (null, null) for an onComplete signal from this Maybe before delivering said
2885
2897
* signal to the downstream.
2886
2898
* <p>
2899
+ * <img width="640" height="297" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.doOnEvent.png" alt="">
2900
+ * <p>
2887
2901
* Exceptions thrown from the callback will override the event so the downstream receives the
2888
2902
* error instead of the original signal.
2889
2903
* <dl>
@@ -3342,6 +3356,8 @@ public final Single<Boolean> isEmpty() {
3342
3356
* and providing a new {@code MaybeObserver}, containing the custom operator's intended business logic, that will be
3343
3357
* used in the subscription process going further upstream.
3344
3358
* <p>
3359
+ * <img width="640" height="352" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.lift.png" alt="">
3360
+ * <p>
3345
3361
* Generally, such a new {@code MaybeObserver} will wrap the downstream's {@code MaybeObserver} and forwards the
3346
3362
* {@code onSuccess}, {@code onError} and {@code onComplete} events from the upstream directly or according to the
3347
3363
* emission pattern the custom operator's business logic requires. In addition, such operator can intercept the
@@ -3862,6 +3878,8 @@ public final Maybe<T> onExceptionResumeNext(final MaybeSource<? extends T> next)
3862
3878
/**
3863
3879
* Nulls out references to the upstream producer and downstream MaybeObserver if
3864
3880
* the sequence is terminated or downstream calls dispose().
3881
+ * <p>
3882
+ * <img width="640" height="263" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.onTerminateDetach.png" alt="">
3865
3883
* <dl>
3866
3884
* <dt><b>Scheduler:</b></dt>
3867
3885
* <dd>{@code onTerminateDetach} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -4680,6 +4698,8 @@ public final <U> Maybe<T> timeout(Publisher<U> timeoutIndicator, MaybeSource<? e
4680
4698
/**
4681
4699
* Returns a Maybe which makes sure when a MaybeObserver disposes the Disposable,
4682
4700
* that call is propagated up on the specified scheduler.
4701
+ * <p>
4702
+ * <img width="640" height="700" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.unsubscribeOn.png" alt="">
4683
4703
* <dl>
4684
4704
* <dt><b>Scheduler:</b></dt>
4685
4705
* <dd>{@code unsubscribeOn} calls dispose() of the upstream on the {@link Scheduler} you specify.</dd>
@@ -4700,7 +4720,7 @@ public final Maybe<T> unsubscribeOn(final Scheduler scheduler) {
4700
4720
* Waits until this and the other MaybeSource signal a success value then applies the given BiFunction
4701
4721
* to those values and emits the BiFunction's resulting value to downstream.
4702
4722
*
4703
- * <img width="640" height="380 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip .png" alt="">
4723
+ * <img width="640" height="451 " src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.zipWith .png" alt="">
4704
4724
*
4705
4725
* <p>If either this or the other MaybeSource is empty or signals an error, the resulting Maybe will
4706
4726
* terminate immediately and dispose the other source.
0 commit comments