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

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.

主站蜘蛛池模板: 中江县| 安福县| 博野县| 广安市| 木里| 嘉义县| 滦平县| 浮山县| 西乌珠穆沁旗| 利津县| 辽宁省| 兴业县| 栾川县| 寿阳县| 子长县| 咸宁市| 抚宁县| 南溪县| 刚察县| 东海县| 乐至县| 康保县| 龙胜| 沙坪坝区| 于都县| 塔城市| 庆云县| 泸西县| 通化市| 定远县| 洛宁县| 吴川市| 凤山县| 弥勒县| 宜州市| 汉寿县| 内江市| 屯留县| 金门县| 南昌市| 富裕县|