File tree 5 files changed +6
-4
lines changed
src/main/java/io/reactivex
5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -615,7 +615,7 @@ public static <T> Completable fromSingle(final SingleSource<T> single) {
615
615
* Returns a Completable which when subscribed, executes the supplier function, ignores its
616
616
* normal result and emits onError or onComplete only.
617
617
* <p>
618
- * <img width="640" height="286" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.fromCallable .png" alt="">
618
+ * <img width="640" height="286" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.fromSupplier .png" alt="">
619
619
* <dl>
620
620
* <dt><b>Scheduler:</b></dt>
621
621
* <dd>{@code fromSupplier} does not operate by default on a particular {@link Scheduler}.</dd>
Original file line number Diff line number Diff line change @@ -2336,7 +2336,7 @@ public static <T> Flowable<T> fromPublisher(final Publisher<? extends T> source)
2336
2336
* Returns a Flowable that, when a Subscriber subscribes to it, invokes a supplier function you specify and then
2337
2337
* emits the value returned from that function.
2338
2338
* <p>
2339
- * <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/fromCallable .png" alt="">
2339
+ * <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Flowable.fromSupplier .png" alt="">
2340
2340
* <p>
2341
2341
* This allows you to defer the execution of the function you specify until a Subscriber subscribes to the
2342
2342
* Publisher. That is to say, it makes the function "lazy."
Original file line number Diff line number Diff line change @@ -877,6 +877,8 @@ public static <T> Maybe<T> fromRunnable(final Runnable run) {
877
877
* subscribes to the returned {@link Maybe}. In other terms, this source operator evaluates the given
878
878
* {@code Supplier} "lazily".
879
879
* <p>
880
+ * <img width="640" height="311" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.fromSupplier.png" alt="">
881
+ * <p>
880
882
* Note that the {@code null} handling of this operator differs from the similar source operators in the other
881
883
* {@link io.reactivex base reactive classes}. Those operators signal a {@code NullPointerException} if the value returned by their
882
884
* {@code Supplier} is {@code null} while this {@code fromSupplier} considers it to indicate the
Original file line number Diff line number Diff line change @@ -2026,7 +2026,7 @@ public static <T> Observable<T> fromPublisher(Publisher<? extends T> publisher)
2026
2026
* Returns an Observable that, when an observer subscribes to it, invokes a supplier function you specify and then
2027
2027
* emits the value returned from that function.
2028
2028
* <p>
2029
- * <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/fromCallable .png" alt="">
2029
+ * <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Observable.fromSupplier .png" alt="">
2030
2030
* <p>
2031
2031
* This allows you to defer the execution of the function you specify until an observer subscribes to the
2032
2032
* ObservableSource. That is to say, it makes the function "lazy."
Original file line number Diff line number Diff line change @@ -821,7 +821,7 @@ public static <T> Single<T> fromObservable(ObservableSource<? extends T> observa
821
821
* It makes passed function "lazy".
822
822
* Result of the function invocation will be emitted by the {@link Single}.
823
823
* <p>
824
- * <img width="640" height="467" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.fromCallable .png" alt="">
824
+ * <img width="640" height="467" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.fromSupplier .png" alt="">
825
825
* <dl>
826
826
* <dt><b>Scheduler:</b></dt>
827
827
* <dd>{@code fromSupplier} does not operate by default on a particular {@link Scheduler}.</dd>
You can’t perform that action at this time.
0 commit comments