@@ -20,8 +20,7 @@ Subscription subscription = values.subscribe(
2020 () - > System . out. println(" Completed" )
2121);
2222```
23-
24- Output
23+ [ Output] ( /tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java )
2524```
2625Received: one
2726Received: two
@@ -41,8 +40,7 @@ Subscription subscription = values.subscribe(
4140 () - > System . out. println(" Completed" )
4241);
4342```
44-
45- Output
43+ [ Output] ( /tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java )
4644```
4745Completed
4846```
@@ -60,7 +58,7 @@ Subscription subscription = values.subscribe(
6058);
6159```
6260
63- The above code will print nothing. Note that this doesn't mean that the program is blocking. In fact, it will terminate immediately.
61+ The [ code above ] ( /tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java ) will print nothing. Note that this doesn't mean that the program is blocking. In fact, it will terminate immediately.
6462
6563### Observable.error
6664
@@ -74,8 +72,7 @@ Subscription subscription = values.subscribe(
7472 () - > System . out. println(" Completed" )
7573);
7674```
77-
78- Output
75+ [ Output] ( /tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java )
7976```
8077Error: java.lang.Exception: Oops
8178```
@@ -91,7 +88,7 @@ now.subscribe(System.out::println);
9188Thread . sleep(1000 );
9289now. subscribe(System . out:: println);
9390```
94- Output
91+ [ Output] ( /tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java )
9592```
96931431443908375
97941431443908375
@@ -107,7 +104,7 @@ now.subscribe(System.out::println);
107104Thread . sleep(1000 );
108105now. subscribe(System . out:: println);
109106```
110- Output
107+ [ Output] ( /tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java )
111108```
1121091431444107854
1131101431444108858
@@ -134,7 +131,7 @@ Subscription subscription = values.subscribe(
134131 () - > System . out. println(" Completed" )
135132);
136133```
137- Output
134+ [ Output] ( /tests/java/itrx/chapter2/creating/ObservableFactoriesExample.java )
138135```
139136Received: Hello
140137Completed
@@ -160,7 +157,7 @@ A straight forward and familiar method to any functional programmer. It emits th
160157Observable<Integer > values = Observable . range(10 , 15 );
161158```
162159
163- The example emits the values from 10 to 24 in sequence.
160+ The [ example] ( /tests/java/itrx/chapter2/creating/FunctionalUnfoldsExample.java ) emits the values from 10 to 24 in sequence.
164161
165162### Observable.interval
166163
@@ -175,8 +172,7 @@ Subscription subscription = values.subscribe(
175172);
176173System . in. read();
177174```
178-
179- Output
175+ [ Output] ( /tests/java/itrx/chapter2/creating/FunctionalUnfoldsExample.java )
180176```
181177Received: 0
182178Received: 1
@@ -201,7 +197,7 @@ Subscription subscription = values.subscribe(
201197 () - > System . out. println(" Completed" )
202198);
203199```
204- Output
200+ [ Output] ( /tests/java/itrx/chapter2/creating/FunctionalUnfoldsExample.java )
205201```
206202Received: 0
207203Completed
@@ -217,7 +213,7 @@ Subscription subscription = values.subscribe(
217213 () - > System . out. println(" Completed" )
218214);
219215```
220- output
216+ [ Output ] ( /tests/java/itrx/chapter2/creating/FunctionalUnfoldsExample.java )
221217```
222218Received: 0
223219Received: 1
@@ -267,8 +263,7 @@ Subscription subscription = values.subscribe(
267263 () - > System . out. println(" Completed" )
268264);
269265```
270-
271- Output
266+ [ Output] ( /tests/java/itrx/chapter2/creating/FromExample.java )
272267```
273268Received: 21
274269Completed
@@ -293,8 +288,7 @@ Subscription subscription = values.subscribe(
293288 () - > System . out. println(" Completed" )
294289);
295290```
296-
297- Output
291+ [ Output] ( /tests/java/itrx/chapter2/creating/FromExample.java )
298292```
299293Received: 1
300294Received: 2
0 commit comments