Skip to content

Commit

Permalink
2.x: marbles for Observable all, fromPublisher, zipArray (#5740)
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd authored Nov 24, 2017
1 parent ed5cd8b commit e25be7c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/io/reactivex/Observable.java
Original file line number Diff line number Diff line change
Expand Up @@ -1898,6 +1898,8 @@ public static <T> Observable<T> fromIterable(Iterable<? extends T> source) {
/**
* Converts an arbitrary Reactive-Streams Publisher into an Observable.
* <p>
* <img width="640" height="344" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/fromPublisher.o.png" alt="">
* <p>
* The {@link Publisher} must follow the
* <a href="https://github.com/reactive-streams/reactive-streams-jvm#reactive-streams">Reactive-Streams specification</a>.
* Violating the specification may result in undefined behavior.
Expand Down Expand Up @@ -4628,7 +4630,7 @@ public static <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> Observable<R> zip(
* {@code Function<Integer[], R>} passed to the method would trigger a {@code ClassCastException}.
*
* <p>
* <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zipArray.png" alt="">
* <img width="640" height="380" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/zipArray.o.png" alt="">
* <dl>
* <dt><b>Scheduler:</b></dt>
* <dd>{@code zipArray} does not operate by default on a particular {@link Scheduler}.</dd>
Expand Down Expand Up @@ -4729,7 +4731,7 @@ public static <T, R> Observable<R> zipIterable(Iterable<? extends ObservableSour
* Returns a Single that emits a Boolean that indicates whether all of the items emitted by the source
* ObservableSource satisfy a condition.
* <p>
* <img width="640" height="315" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/all.2.png" alt="">
* <img width="640" height="264" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/all.o.png" alt="">
* <dl>
* <dt><b>Scheduler:</b></dt>
* <dd>{@code all} does not operate by default on a particular {@link Scheduler}.</dd>
Expand Down

0 comments on commit e25be7c

Please sign in to comment.