- Spring 5.0 Projects
- Nilang Patel
- 185字
- 2021-07-02 12:35:04
Operators
We have seen operators like map and filter in previous examples. They are basically used to perform a specific operation on the stream of data and return new Observable to form an Observable chain. Operators themselves are Observers to the Observable they are called on.
RxJava has a rich set of operators used to perform various operations with the following categories:
- Creating observables: The set of operators used to create new Observable.
- Transforming observables: Operators used to transform items emitted by observables they called upon.
- Filtering observable: Operators used to emit selective data.
- Combining observable: Used to combine multiple source observables to form a single Observable.
- Error handling: Operators that are used to recover from the error condition notified from Observable.
- Utility Operator: Used to perform some miscellaneous operations with Observable.
- Conditional and Boolean operators: Used to evaluate one or more Observable or even emitted items.
- Mathematical and aggregate: Operators used to perform various operations on the entire sequence of emitted data.
It is good to visit: http://reactivex.io/documentation/operators.html, to get full details about each of the operators, instead of having details listed here.
推薦閱讀
- C++黑客編程揭秘與防范
- Hands-On Industrial Internet of Things
- 重新定義Spring Cloud實戰
- OpenLayers Cookbook
- JBoss EAP6 High Availability
- Windows Server 2003 Active Directory Design and Implementation: Creating, Migrating, and Merging Networks
- Master Apache JMeter:From Load Testing to DevOps
- INSTANT LinkedIn Customization How-to
- LwIP應用開發實戰指南:基于STM32
- 圖解物聯網
- Intelligent Mobile Projects with TensorFlow
- Hands-On Reactive Programming in Spring 5
- SD-WAN 架構與技術
- 企業網絡組建與維護項目式教程
- 國外物聯網透視