Skip to content

Commit da36a44

Browse files
authored
[JAVA-40636] (#17743)
* [JAVA-40636] Moved article "Retry with Delay in RxJava" from rxjava-core to rxjava-core-2 * [JAVA-40636] Moved article "RxJava Maybe" from rxjava-core to rxjava-core-2 * [JAVA-40636] Moved article "Combining RxJava Completables" from rxjava-core to rxjava-core-2 * [JAVA-40636] Moved article "RxJava Hooks" from rxjava-core to rxjava-core-2 * [JAVA-40636] Moved article "Introduction to RxJava" from rxjava-core to rxjava-core-2 * [JAVA-40636] Moved article "Difference Between Flatmap and Switchmap in RxJava" link from rxjava-core to rxjava-operators * [JAVA-40636] Moved article "Difference Between Flatmap and Switchmap in RxJava" from rxjava-operators to rxjava-core-2
1 parent f568371 commit da36a44

File tree

11 files changed

+36
-28
lines changed

11 files changed

+36
-28
lines changed

rxjava-modules/rxjava-core-2/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ This module contains articles about RxJava.
44

55
### Relevant articles:
66
- [RxJava Single.just() vs Single.fromCallable()](https://www.baeldung.com/rxjava-single-just-single-fromcallable)
7+
- [Retry with Delay in RxJava](https://www.baeldung.com/rxjava-retry-with-delay)
8+
- [RxJava Maybe](https://www.baeldung.com/rxjava-maybe)
9+
- [Combining RxJava Completables](https://www.baeldung.com/rxjava-completable)
10+
- [RxJava Hooks](https://www.baeldung.com/rxjava-hooks)
11+
- [Introduction to RxJava](https://www.baeldung.com/rx-java)
12+
- [Difference Between Flatmap and Switchmap in RxJava](https://www.baeldung.com/rxjava-flatmap-switchmap)
13+
- More articles: [[<-- Prev]](/rxjava-modules/rxjava-core)

rxjava-modules/rxjava-core/src/main/java/com/baeldung/rxjava/ObservableImpl.java renamed to rxjava-modules/rxjava-core-2/src/main/java/com/baeldung/rxjava/ObservableImpl.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package com.baeldung.rxjava;
22

3-
import rx.Observable;
4-
import rx.observables.BlockingObservable;
5-
63
import java.util.Arrays;
74
import java.util.List;
85

6+
import rx.Observable;
7+
import rx.observables.BlockingObservable;
8+
99
public class ObservableImpl {
1010

1111
private static Integer[] numbers = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};

rxjava-modules/rxjava-core/src/test/java/com/baeldung/rxjava/ObservableUnitTest.java renamed to rxjava-modules/rxjava-core-2/src/test/java/com/baeldung/rxjava/ObservableUnitTest.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package com.baeldung.rxjava;
22

3-
import org.junit.Test;
4-
import rx.Observable;
5-
63
import static com.baeldung.rxjava.ObservableImpl.getTitle;
74
import static junit.framework.Assert.assertTrue;
85

6+
import org.junit.Test;
7+
8+
import rx.Observable;
9+
910
public class ObservableUnitTest {
1011

1112
private String result = "";

rxjava-modules/rxjava-core/src/test/java/com/baeldung/rxjava/CompletableUnitTest.java renamed to rxjava-modules/rxjava-core-2/src/test/java/com/baeldung/rxjava/completable/CompletableUnitTest.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
package com.baeldung.rxjava;
1+
package com.baeldung.rxjava.completable;
2+
3+
import org.junit.Before;
4+
import org.junit.Test;
25

36
import io.reactivex.Completable;
47
import io.reactivex.Flowable;
58
import io.reactivex.Single;
69
import io.reactivex.observers.DisposableCompletableObserver;
7-
import org.junit.Before;
8-
import org.junit.Test;
910

1011
public class CompletableUnitTest {
1112

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
package com.baeldung.rxjava.operators;
1+
package com.baeldung.rxjava.flatmapswitchmap;
22

3-
import io.reactivex.Observable;
4-
import io.reactivex.schedulers.TestScheduler;
5-
import org.junit.Test;
3+
import static org.hamcrest.CoreMatchers.hasItems;
4+
import static org.junit.Assert.assertEquals;
5+
import static org.junit.Assert.assertThat;
66

77
import java.util.ArrayList;
88
import java.util.Arrays;
99
import java.util.List;
1010
import java.util.concurrent.TimeUnit;
1111

12-
import static org.hamcrest.CoreMatchers.hasItems;
13-
import static org.junit.Assert.assertEquals;
14-
import static org.junit.Assert.assertThat;
12+
import org.junit.Test;
13+
14+
import io.reactivex.Observable;
15+
import io.reactivex.schedulers.TestScheduler;
1516

1617
public class RxFlatmapAndSwitchmapUnitTest {
1718
@Test

rxjava-modules/rxjava-core/src/test/java/com/baeldung/rxjava/RxJavaHooksManualTest.java renamed to rxjava-modules/rxjava-core-2/src/test/java/com/baeldung/rxjava/hooks/RxJavaHooksManualTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.rxjava;
1+
package com.baeldung.rxjava.hooks;
22

33
import static org.junit.Assert.assertTrue;
44

rxjava-modules/rxjava-core/src/test/java/com/baeldung/rxjava/RxJavaHooksUnitTest.java renamed to rxjava-modules/rxjava-core-2/src/test/java/com/baeldung/rxjava/hooks/RxJavaHooksUnitTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.rxjava;
1+
package com.baeldung.rxjava.hooks;
22

33
import static org.junit.Assert.assertTrue;
44

rxjava-modules/rxjava-core/src/test/java/com/baeldung/rxjava/MaybeUnitTest.java renamed to rxjava-modules/rxjava-core-2/src/test/java/com/baeldung/rxjava/maybe/MaybeUnitTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.rxjava;
1+
package com.baeldung.rxjava.maybe;
22

33
import org.junit.Test;
44

rxjava-modules/rxjava-core/src/test/java/com/baeldung/rxjava/RxJavaRetryWithDelayUnitTest.java renamed to rxjava-modules/rxjava-core-2/src/test/java/com/baeldung/rxjava/retry/RxJavaRetryWithDelayUnitTest.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
package com.baeldung.rxjava;
2-
import io.reactivex.Observable;
3-
import org.junit.Test;
1+
package com.baeldung.rxjava.retry;
42

53
import java.util.concurrent.TimeUnit;
64

5+
import org.junit.Test;
6+
7+
import io.reactivex.Observable;
8+
79
public class RxJavaRetryWithDelayUnitTest {
810

911
@Test

rxjava-modules/rxjava-core/README.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ This module contains articles about RxJava.
66

77
- [Dealing with Backpressure with RxJava](https://www.baeldung.com/rxjava-backpressure)
88
- [How to Test RxJava?](https://www.baeldung.com/rxjava-testing)
9-
- [Introduction to RxJava](https://www.baeldung.com/rx-java)
109
- [Schedulers in RxJava](https://www.baeldung.com/rxjava-schedulers)
11-
- [Difference Between Flatmap and Switchmap in RxJava](https://www.baeldung.com/rxjava-flatmap-switchmap)
1210
- [RxJava and Error Handling](https://www.baeldung.com/rxjava-error-handling)
13-
- [RxJava Maybe](https://www.baeldung.com/rxjava-maybe)
14-
- [Combining RxJava Completables](https://www.baeldung.com/rxjava-completable)
15-
- [RxJava Hooks](https://www.baeldung.com/rxjava-hooks)
16-
- [Retry with Delay in RxJava](https://www.baeldung.com/rxjava-retry-with-delay)
11+
- More articles: [[Next -->]](rxjava-modules/rxjava-core-2)

rxjava-modules/rxjava-operators/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
- [Implementing Custom Operators in RxJava](https://www.baeldung.com/rxjava-custom-operators)
1010
- [Converting Synchronous and Asynchronous APIs to Observables using RxJava2](https://www.baeldung.com/rxjava-apis-to-observables)
1111

12+
1213

0 commit comments

Comments
 (0)