官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 缙云县| 宣化县| 老河口市| 肥东县| 洱源县| 崇信县| 鹿泉市| 兴安盟| 泗洪县| 永定县| 博爱县| 柘城县| 崇阳县| 肇源县| 叙永县| 灵川县| 东莞市| 万州区| 徐汇区| 阿鲁科尔沁旗| 义马市| 孝义市| 南开区| 广安市| 南城县| 辛集市| 湖州市| 沽源县| 湘潭县| 宁河县| 平江县| 乌恰县| 齐河县| 普定县| 承德市| 临沭县| 平果县| 观塘区| 兴化市| 常德市| 拉孜县|