Skip to content

Commit e7a3f12

Browse files
authored
2.x: More Observable marble fixes (10/18) (#5680)
1 parent 0f4a5e7 commit e7a3f12

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/main/java/io/reactivex/Observable.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4689,7 +4689,7 @@ public static <T, R> Observable<R> zipArray(Function<? super Object[], ? extends
46894689
* {@code Function<Integer[], R>} passed to the method would trigger a {@code ClassCastException}.
46904690
*
46914691
* <p>
4692-
* <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zip.png" alt="">
4692+
* <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zipIterable.o.png" alt="">
46934693
* <dl>
46944694
* <dt><b>Scheduler:</b></dt>
46954695
* <dd>{@code zipIterable} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -4752,7 +4752,7 @@ public final Single<Boolean> all(Predicate<? super T> predicate) {
47524752
* Mirrors the ObservableSource (current or provided) that first either emits an item or sends a termination
47534753
* notification.
47544754
* <p>
4755-
* <img width="640" height="385" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/amb.png" alt="">
4755+
* <img width="640" height="385" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/ambWith.o.png" alt="">
47564756
* <dl>
47574757
* <dt><b>Scheduler:</b></dt>
47584758
* <dd>{@code ambWith} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -4854,7 +4854,7 @@ public final T blockingFirst(T defaultItem) {
48544854
* <p>
48554855
* <em>Note:</em> This will block even if the underlying Observable is asynchronous.
48564856
* <p>
4857-
* <img width="640" height="330" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.forEach.png" alt="">
4857+
* <img width="640" height="330" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/blockingForEach.o.png" alt="">
48584858
* <p>
48594859
* This is similar to {@link Observable#subscribe(Observer)}, but it blocks. Because it blocks it does not
48604860
* need the {@link Observer#onComplete()} or {@link Observer#onError(Throwable)} methods. If the
@@ -4892,7 +4892,7 @@ public final void blockingForEach(Consumer<? super T> onNext) {
48924892
/**
48934893
* Converts this {@code Observable} into an {@link Iterable}.
48944894
* <p>
4895-
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.toIterable.png" alt="">
4895+
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/blockingIterable.o.png" alt="">
48964896
* <dl>
48974897
* <dt><b>Scheduler:</b></dt>
48984898
* <dd>{@code blockingIterable} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -4931,7 +4931,7 @@ public final Iterable<T> blockingIterable(int bufferSize) {
49314931
* Returns the last item emitted by this {@code Observable}, or throws
49324932
* {@code NoSuchElementException} if this {@code Observable} emits no items.
49334933
* <p>
4934-
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.last.png" alt="">
4934+
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/blockingLast.o.png" alt="">
49354935
* <dl>
49364936
* <dt><b>Scheduler:</b></dt>
49374937
* <dd>{@code blockingLast} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -4958,7 +4958,7 @@ public final T blockingLast() {
49584958
* Returns the last item emitted by this {@code Observable}, or a default value if it emits no
49594959
* items.
49604960
* <p>
4961-
* <img width="640" height="310" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.lastOrDefault.png" alt="">
4961+
* <img width="640" height="310" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/blockingLastDefault.o.png" alt="">
49624962
* <dl>
49634963
* <dt><b>Scheduler:</b></dt>
49644964
* <dd>{@code blockingLast} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -5006,7 +5006,7 @@ public final Iterable<T> blockingLatest() {
50065006
* Returns an {@link Iterable} that always returns the item most recently emitted by this
50075007
* {@code Observable}.
50085008
* <p>
5009-
* <img width="640" height="490" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.mostRecent.png" alt="">
5009+
* <img width="640" height="426" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/blockingMostRecent.o.png" alt="">
50105010
* <dl>
50115011
* <dt><b>Scheduler:</b></dt>
50125012
* <dd>{@code blockingMostRecent} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -5029,7 +5029,7 @@ public final Iterable<T> blockingMostRecent(T initialValue) {
50295029
* Returns an {@link Iterable} that blocks until this {@code Observable} emits another item, then
50305030
* returns that item.
50315031
* <p>
5032-
* <img width="640" height="490" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.next.png" alt="">
5032+
* <img width="640" height="427" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/blockingNext.o.png" alt="">
50335033
* <dl>
50345034
* <dt><b>Scheduler:</b></dt>
50355035
* <dd>{@code blockingNext} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -5049,7 +5049,7 @@ public final Iterable<T> blockingNext() {
50495049
* If this {@code Observable} completes after emitting a single item, return that item, otherwise
50505050
* throw a {@code NoSuchElementException}.
50515051
* <p>
5052-
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.single.png" alt="">
5052+
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/blockingSingle.o.png" alt="">
50535053
* <dl>
50545054
* <dt><b>Scheduler:</b></dt>
50555055
* <dd>{@code blockingSingle} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -5073,7 +5073,7 @@ public final T blockingSingle() {
50735073
* more than one item, throw an {@code IllegalArgumentException}; if it emits no items, return a default
50745074
* value.
50755075
* <p>
5076-
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/B.singleOrDefault.png" alt="">
5076+
* <img width="640" height="315" src="https://github.com/ReactiveX/RxJava/wiki/images/rx-operators/blockingSingleDefault.o.png" alt="">
50775077
* <dl>
50785078
* <dt><b>Scheduler:</b></dt>
50795079
* <dd>{@code blockingSingle} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -5854,7 +5854,7 @@ public final Observable<T> cache() {
58545854
* Returns an Observable that subscribes to this ObservableSource lazily, caches all of its events
58555855
* and replays them, in the same order as received, to all the downstream subscribers.
58565856
* <p>
5857-
* <img width="640" height="410" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/cache.png" alt="">
5857+
* <img width="640" height="410" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/cacheWithInitialCapacity.o.png" alt="">
58585858
* <p>
58595859
* This is useful when you want an ObservableSource to cache responses and you can't control the
58605860
* subscribe/dispose behavior of all the {@link Observer}s.

0 commit comments

Comments
 (0)