Skip to content

Commit ac06c24

Browse files
authored
2.x: add/update Observable marbles (07/30) (#5524)
1 parent e92822c commit ac06c24

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,7 +2222,7 @@ public static Observable<Long> intervalRange(long start, long count, long initia
22222222
/**
22232223
* Returns an Observable that emits a single item and then completes.
22242224
* <p>
2225-
* <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/just.png" alt="">
2225+
* <img width="640" height="290" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/just.item.png" alt="">
22262226
* <p>
22272227
* To convert any object into an ObservableSource that emits that object, pass that object into the {@code just}
22282228
* method.
@@ -3341,7 +3341,7 @@ public static Observable<Integer> range(final int start, final int count) {
33413341
/**
33423342
* Returns an Observable that emits a sequence of Longs within a specified range.
33433343
* <p>
3344-
* <img width="640" height="195" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/range.png" alt="">
3344+
* <img width="640" height="195" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/rangeLong.png" alt="">
33453345
* <dl>
33463346
* <dt><b>Scheduler:</b></dt>
33473347
* <dd>{@code rangeLong} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -10603,10 +10603,12 @@ public final Observable<T> skipWhile(Predicate<? super T> predicate) {
1060310603
* Returns an Observable that emits the events emitted by source ObservableSource, in a
1060410604
* sorted order. Each item emitted by the ObservableSource must implement {@link Comparable} with respect to all
1060510605
* other items in the sequence.
10606-
*
10607-
* <p>If any item emitted by this Observable does not implement {@link Comparable} with respect to
10608-
* all other items emitted by this Observable, no items will be emitted and the
10609-
* sequence is terminated with a {@link ClassCastException}.
10606+
* <p>
10607+
* <img width="640" height="315" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/sorted.png" alt="">
10608+
* <p>
10609+
* If any item emitted by this Observable does not implement {@link Comparable} with respect to
10610+
* all other items emitted by this Observable, no items will be emitted and the
10611+
* sequence is terminated with a {@link ClassCastException}.
1061010612
*
1061110613
* <p>Note that calling {@code sorted} with long, non-terminating or infinite sources
1061210614
* might cause {@link OutOfMemoryError}
@@ -10698,7 +10700,7 @@ public final Observable<T> startWith(ObservableSource<? extends T> other) {
1069810700
* Returns an Observable that emits a specified item before it begins to emit items emitted by the source
1069910701
* ObservableSource.
1070010702
* <p>
10701-
* <img width="640" height="315" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/startWith.png" alt="">
10703+
* <img width="640" height="315" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/startWith.item.png" alt="">
1070210704
* <dl>
1070310705
* <dt><b>Scheduler:</b></dt>
1070410706
* <dd>{@code startWith} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -10722,7 +10724,7 @@ public final Observable<T> startWith(T item) {
1072210724
* Returns an Observable that emits the specified items before it begins to emit items emitted by the source
1072310725
* ObservableSource.
1072410726
* <p>
10725-
* <img width="640" height="315" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/startWith.png" alt="">
10727+
* <img width="640" height="315" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/startWithArray.png" alt="">
1072610728
* <dl>
1072710729
* <dt><b>Scheduler:</b></dt>
1072810730
* <dd>{@code startWithArray} does not operate by default on a particular {@link Scheduler}.</dd>

0 commit comments

Comments
 (0)