@@ -36,7 +36,7 @@ Observable<Integer> seq2 = Observable.range(10, 3);
3636Observable . concat(seq1, seq2)
3737 .subscribe(System . out:: println);
3838```
39- Output
39+ [ Output] ( /tests/java/itrx/chapter3/combining/ConcatExample.java )
4040```
41410
42421
@@ -61,7 +61,7 @@ Observable<String> words = Observable.just(
6161Observable . concat(words. groupBy(v - > v. charAt(0 )))
6262 .subscribe(System . out:: println);
6363```
64- Output
64+ [ Output] ( /tests/java/itrx/chapter3/combining/ConcatExample.java )
6565```
6666First
6767Fourth
@@ -86,7 +86,7 @@ public void exampleConcatWith() {
8686 .subscribe(System . out:: println);
8787}
8888```
89- Output
89+ [ Output] ( /tests/java/itrx/chapter3/combining/ConcatExample.java )
9090```
91910
92921
@@ -114,7 +114,7 @@ Observable<Integer> words = Observable.range(0,2);
114114words. repeat(2 )
115115 .subscribe(System . out:: println);
116116```
117- Output
117+ [ Output] ( /tests/java/itrx/chapter3/combining/RepeatExample.java )
118118```
1191190
1201201
@@ -149,7 +149,7 @@ values
149149 })
150150 .subscribe(new PrintSubscriber (" repeatWhen" ));
151151```
152- Output
152+ [ Output] ( /tests/java/itrx/chapter3/combining/RepeatExample.java )
153153```
154154repeatWhen: 0
155155repeatWhen: 1
@@ -200,7 +200,7 @@ Observable<Integer> values = Observable.range(0, 3);
200200values. startWith(- 1 ,- 2 )
201201 .subscribe(System . out:: println);
202202```
203- Output
203+ [ Output] ( /tests/java/itrx/chapter3/combining/StartWithExample.java )
204204```
205205-1
206206-2
@@ -250,7 +250,7 @@ Observable.amb(
250250 Observable . timer(50 , TimeUnit . MILLISECONDS ). map(i - > " Second" ))
251251 .subscribe(System . out:: println);
252252```
253- Output
253+ [ Output] ( /tests/java/itrx/chapter3/combining/AmbExample.java )
254254```
255255Second
256256```
@@ -266,7 +266,7 @@ Observable.timer(100, TimeUnit.MILLISECONDS).map(i -> "First")
266266 .ambWith(Observable . timer(70 , TimeUnit . MILLISECONDS ). map(i - > " Third" ))
267267 .subscribe(System . out:: println);
268268```
269- Output
269+ [ Output] ( /tests/java/itrx/chapter3/combining/AmbExample.java )
270270```
271271Second
272272```
@@ -306,7 +306,7 @@ Observable.merge(
306306 .take(10 )
307307 .subscribe(System . out:: println);
308308```
309- Output
309+ [ Output] ( /tests/java/itrx/chapter3/combining/MergeExample.java )
310310```
311311Second
312312First
@@ -365,7 +365,7 @@ Observable.mergeDelayError(failAt200, completeAt400)
365365 System . out:: println,
366366 System . out:: println);
367367```
368- Output
368+ [ Output] ( /tests/java/itrx/chapter3/combining/MergeDelayErrorExample.java )
369369```
3703700
3713710
@@ -398,7 +398,7 @@ Observable.mergeDelayError(failAt200, failAt300, completeAt400)
398398 System . out:: println,
399399 System . out:: println);
400400```
401- Output
401+ [ Output] ( /tests/java/itrx/chapter3/combining/MergeDelayErrorExample.java )
402402```
4034030
4044040
@@ -431,7 +431,7 @@ Observable.switchOnNext(
431431 .take(9 )
432432 .subscribe(System . out:: println);
433433```
434- Output
434+ [ Output] ( /tests/java/itrx/chapter3/combining/SwitchOnNextExample.java )
435435```
4364360
4374370
@@ -465,7 +465,7 @@ Observable.interval(100, TimeUnit.MILLISECONDS)
465465 .take(9 )
466466 .subscribe(System . out:: println);
467467```
468- Output
468+ [ Output] ( /tests/java/itrx/chapter3/combining/SwitchMapExample.java )
469469```
4704700
4714710
@@ -501,7 +501,7 @@ Observable.zip(
501501 .take(6 )
502502 .subscribe(System . out:: println);
503503```
504- Output
504+ [ Output] ( /tests/java/itrx/chapter3/combining/ZipExample.java )
505505```
506506Left emits 0
507507Right emits 0
@@ -560,7 +560,7 @@ Observable.zip(
560560 .take(6 )
561561 .subscribe(System . out:: println);
562562```
563- Output
563+ [ Output] ( /tests/java/itrx/chapter3/combining/ZipExample.java )
564564```
5655650 - 0 - 0
5665661 - 1 - 1
@@ -581,7 +581,7 @@ Observable.zip(
581581 .count()
582582 .subscribe(System . out:: println);
583583```
584- Output
584+ [ Output] ( /tests/java/itrx/chapter3/combining/ZipExample.java )
585585```
5865863
587587```
@@ -599,7 +599,7 @@ Observable.interval(100, TimeUnit.MILLISECONDS)
599599 .take(6 )
600600 .subscribe(System . out:: println);
601601```
602- Output
602+ [ Output] ( /tests/java/itrx/chapter3/combining/ZipExample.java )
603603```
6046040 - 0
6056051 - 1
@@ -618,7 +618,7 @@ Observable.range(0, 5)
618618 (i1,i2) - > i1 + " - " + i2)
619619 .subscribe(System . out:: println);
620620```
621- Output
621+ [ Output] ( /tests/java/itrx/chapter3/combining/ZipExample.java )
622622```
6236230 - 0
6246241 - 2
@@ -644,7 +644,7 @@ Observable.combineLatest(
644644 .take(6 )
645645 .subscribe(System . out:: println);
646646```
647- Output
647+ [ Output] ( /tests/java/itrx/chapter3/combining/CombineLatestExample.java )
648648```
649649Left emits
650650Right emits
0 commit comments