도서 정보
도서 상세설명
1: An Introduction to Reactive Programming
What is reactive programming?
Why should we be reactive?
Introducing RxJava
Summary
2: Using the Functional Constructions of Java 8
Lambdas in Java 8
Implementing the reactive sum example with lambdas
Pure functions and higher order functions
Summary
3: Creating and Connecting Observables, Observers, and Subjects
The Observable.from method
The Observable.just method
Other Observable factory methods
The Observable.create method
Subscribing and unsubscribing
Hot and cold Observable instances
The Subject instances
Summary
4: Transforming, Filtering, and Accumulating Your Data
Observable transformations
Filtering data
Accumulating data
Summary
5: Combinators, Conditionals, and Error Handling
Combining the Observable instances
The conditional operators
Handling errors
An HTTP client example
Summary
6: Using Concurrency and Parallelism with Schedulers
RxJava's schedulers
Buffering, throttling, and debouncing
Summary
7: Testing Your RxJava Application
Testing using simple subscription
The BlockingObservable class
The aggregate operators and the BlockingObservable class
Testing with the aggregate operators and the BlockingObservable class
Using the TestSubscriber class for in-depth testing
Testing asynchronous Observable instances with the help of the TestScheduler class
Summary
8: Resource Management and Extending RxJava
Resource management
Caching data with Observable.cache
Creating custom operators with lift
Composing multiple operators with the Observable.compose operator
Summary
Appendix A: Index