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

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.

主站蜘蛛池模板: 涞水县| 永仁县| 漠河县| 大名县| 丰县| 定陶县| 施秉县| 定结县| 健康| 天津市| 离岛区| 临武县| 阜南县| 甘肃省| 沈丘县| 陵水| 雷波县| 山东省| 宁津县| 大港区| 深泽县| 衡阳市| 邢台市| 普兰店市| 邻水| 木里| 山阴县| 辽阳县| 沭阳县| 罗江县| 昆明市| 奈曼旗| 静乐县| 通江县| 贵南县| 仁寿县| 永川市| 麻阳| 卢龙县| 左权县| 深水埗区|