@@ -1103,6 +1103,8 @@ public static <T> Observable<T> just(T value) {
11031103 * Returns an Observable that emits a single item and then completes on a
11041104 * specified scheduler.
11051105 * <p>
1106+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/just.s.png">
1107+ * <p>
11061108 * This is a scheduler version of {@link Observable#just(Object)}.
11071109 *
11081110 * @param value the item to pass to the {@link Observer}'s
@@ -1387,7 +1389,6 @@ public static <T> Observable<T> concat(Observable<? extends T> t1, Observable<?
13871389 * @param t1 an Observable to be concatenated
13881390 * @param t2 an Observable to be concatenated
13891391 * @param t3 an Observable to be concatenated
1390- *
13911392 * @return an Observable that emits items that are the result of combining
13921393 * the items emitted by the {@code source} Observables, one after
13931394 * the other
@@ -1972,7 +1973,7 @@ public static Observable<Long> interval(long interval, TimeUnit unit) {
19721973 /**
19731974 * Emits an item each time interval (containing a sequential number).
19741975 * <p>
1975- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/interval.png">
1976+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/interval.s. png">
19761977 *
19771978 * @param interval interval size in time units (see below)
19781979 * @param unit time units to use for the interval size
@@ -2021,7 +2022,7 @@ public Observable<T> debounce(long timeout, TimeUnit unit) {
20212022 * Note: If events keep firing faster than the timeout then no data will be
20222023 * emitted.
20232024 * <p>
2024- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/debounce.png">
2025+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/debounce.s. png">
20252026 * <p>
20262027 * Information on debounce vs throttle:
20272028 * <p>
@@ -2081,7 +2082,7 @@ public Observable<T> throttleWithTimeout(long timeout, TimeUnit unit) {
20812082 * Note: If events keep firing faster than the timeout then no data will be
20822083 * emitted.
20832084 * <p>
2084- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/throttleWithTimeout.png">
2085+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/throttleWithTimeout.s. png">
20852086 * <p>
20862087 * Information on debounce vs throttle:
20872088 * <p>
@@ -2131,7 +2132,7 @@ public Observable<T> throttleFirst(long windowDuration, TimeUnit unit) {
21312132 * This differs from {@link #throttleLast} in that this only tracks passage
21322133 * of time whereas {@link #throttleLast} ticks at scheduled intervals.
21332134 * <p>
2134- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/throttleFirst.png">
2135+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/throttleFirst.s. png">
21352136 *
21362137 * @param skipDuration time to wait before sending another item after
21372138 * emitting the last item
@@ -2174,11 +2175,13 @@ public Observable<T> throttleLast(long intervalDuration, TimeUnit unit) {
21742175 * scheduled interval whereas {@link #throttleFirst} does not tick, it just
21752176 * tracks passage of time.
21762177 * <p>
2177- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/throttleLast.png">
2178+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/throttleLast.s. png">
21782179 *
21792180 * @param intervalDuration duration of windows within which the last item
21802181 * will be emitted
21812182 * @param unit the unit of time for the specified interval
2183+ * @param scheduler the {@link Scheduler} to use internally to manage the
2184+ * timers that handle timeout for each event
21822185 * @return an Observable that performs the throttle operation
21832186 * @see <a href="https://github.com/Netflix/RxJava/wiki/Filtering-Observables#takelast">RxJava Wiki: throttleLast()</a>
21842187 * @see #sample(long, TimeUnit, Scheduler)
@@ -2227,7 +2230,7 @@ public static <T> Observable<T> from(Future<? extends T> future) {
22272230 /**
22282231 * Converts a {@link Future} into an Observable.
22292232 * <p>
2230- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/from.Future.png">
2233+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/from.Future.s. png">
22312234 * <p>
22322235 * You can convert any object that supports the {@link Future} interface
22332236 * into an Observable that emits the return value of the {@link Future#get}
@@ -2913,7 +2916,7 @@ public Observable<List<T>> buffer(long timespan, TimeUnit unit) {
29132916 /**
29142917 * Creates an Observable that produces buffers of collected values.
29152918 * <p>
2916- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/buffer5.png">
2919+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/buffer5.s. png">
29172920 * <p>
29182921 * This Observable produces connected, non-overlapping buffers, each of a
29192922 * fixed duration specified by the <code>timespan</code> argument. When the
@@ -2966,7 +2969,7 @@ public Observable<List<T>> buffer(long timespan, TimeUnit unit, int count) {
29662969 * first). When the source Observable completes or encounters an error, the
29672970 * current buffer is emitted and the event is propagated.
29682971 * <p>
2969- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/buffer6.png">
2972+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/buffer6.s. png">
29702973 *
29712974 * @param timespan the period of time each buffer collects values before it
29722975 * should be emitted and replaced with a new buffer
@@ -3016,7 +3019,7 @@ public Observable<List<T>> buffer(long timespan, long timeshift, TimeUnit unit)
30163019 * source Observable completes or encounters an error, the current buffer is
30173020 * emitted and the event is propagated.
30183021 * <p>
3019- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/buffer7.png">
3022+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/buffer7.s. png">
30203023 *
30213024 * @param timespan the period of time each buffer collects values before it
30223025 * should be emitted
@@ -3153,7 +3156,7 @@ public Observable<Observable<T>> window(long timespan, TimeUnit unit) {
31533156 * source Observable completes or encounters an error, the current window is
31543157 * emitted and the event is propagated.
31553158 * <p>
3156- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/window5.png">
3159+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/window5.s. png">
31573160 *
31583161 * @param timespan the period of time each window collects items before it
31593162 * should be emitted and replaced with a new window
@@ -3201,7 +3204,7 @@ public Observable<Observable<T>> window(long timespan, TimeUnit unit, int count)
32013204 * first). When the source Observable completes or encounters an error, the
32023205 * current window is emitted and the event is propagated.
32033206 * <p>
3204- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/window6.png">
3207+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/window6.s. png">
32053208 *
32063209 * @param timespan the period of time each window collects values before it
32073210 * should be emitted and replaced with a new window
@@ -3251,7 +3254,7 @@ public Observable<Observable<T>> window(long timespan, long timeshift, TimeUnit
32513254 * source Observable completes or encounters an error, the current window is
32523255 * emitted and the event is propagated.
32533256 * <p>
3254- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/window7.png">
3257+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/window7.s. png">
32553258 *
32563259 * @param timespan the period of time each window collects values before it
32573260 * should be emitted
@@ -4239,7 +4242,6 @@ public <R> Observable<R> parallel(Func1<Observable<T>, Observable<R>> f) {
42394242 * {@link Scheduler}
42404243 * @see <a href="https://github.com/Netflix/RxJava/wiki/Observable-Utility-Operators#parallel">RxJava Wiki: parallel()</a>
42414244 */
4242-
42434245 public <R > Observable <R > parallel (final Func1 <Observable <T >, Observable <R >> f , final Scheduler s ) {
42444246 return OperationParallel .parallel (this , f , s );
42454247 }
@@ -4288,6 +4290,7 @@ public static <T> Observable<Observable<T>> parallelMerge(Observable<Observable<
42884290 * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/parallelMerge.png">
42894291 *
42904292 * @param parallelObservables the number of Observables to merge into
4293+ * @param scheduler
42914294 * @return an Observable of Observables constrained to number defined by
42924295 * <code>parallelObservables</code>.
42934296 * @see <a href="https://github.com/Netflix/RxJava/wiki/Combining-Observables#parallelmerge">RxJava Wiki: parallelMerge()</a>
@@ -4427,7 +4430,7 @@ public Observable<T> sample(long period, TimeUnit unit) {
44274430 * Returns an Observable that emits the results of sampling the items
44284431 * emitted by the source Observable at a specified time interval.
44294432 * <p>
4430- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/sample.png">
4433+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/sample.s. png">
44314434 *
44324435 * @param period the sampling rate
44334436 * @param unit the {@link TimeUnit} in which <code>period</code> is defined
@@ -5233,7 +5236,7 @@ public Observable<T> timeout(long timeout, TimeUnit timeUnit, Observable<? exten
52335236 * isn't received within the specified timeout duration starting from its
52345237 * predecessor, a TimeoutException is propagated to the observer.
52355238 * <p>
5236- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/timeout.1 .png">
5239+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/timeout.1s .png">
52375240 *
52385241 * @param timeout maximum duration between values before a timeout occurs
52395242 * @param timeUnit the unit of time which applies to the
@@ -5255,7 +5258,7 @@ public Observable<T> timeout(long timeout, TimeUnit timeUnit, Scheduler schedule
52555258 * predecessor, the other observable sequence is used to produce future
52565259 * messages from that point on.
52575260 * <p>
5258- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/timeout.2 .png">
5261+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/timeout.2s .png">
52595262 *
52605263 * @param timeout maximum duration between values before a timeout occurs
52615264 * @param timeUnit the unit of time which applies to the
@@ -5289,7 +5292,7 @@ public Observable<TimeInterval<T>> timeInterval() {
52895292 * Records the time interval between consecutive items emitted by an
52905293 * Observable, using the specified Scheduler to compute time intervals.
52915294 * <p>
5292- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/timeInterval.png">
5295+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/timeInterval.s. png">
52935296 *
52945297 * @param scheduler Scheduler used to compute time intervals
52955298 * @return an Observable that emits time interval information items
@@ -5595,6 +5598,8 @@ public void onNext(T args) { }
55955598
55965599 /**
55975600 * Invokes an action for each item emitted by an Observable.
5601+ * <p>
5602+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/doOnEach.e.png">
55985603 *
55995604 * @param onNext the action to invoke for each item in the source sequence
56005605 * @param onError the action to invoke when the source Observable calls
@@ -5626,6 +5631,8 @@ public void onNext(T args) {
56265631
56275632 /**
56285633 * Invokes an action for each item emitted by an Observable.
5634+ * <p>
5635+ * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/doOnEach.ce.png">
56295636 *
56305637 * @param onNext the action to invoke for each item in the source sequence
56315638 * @param onError the action to invoke when the source Observable calls
@@ -5655,7 +5662,6 @@ public void onNext(T args) {
56555662
56565663 };
56575664
5658-
56595665 return create (OperationDoOnEach .doOnEach (this , observer ));
56605666 }
56615667
0 commit comments