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

  • 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.

主站蜘蛛池模板: 渝中区| 禹城市| 八宿县| 孟村| 无极县| 安宁市| 揭东县| 宜章县| 苏尼特左旗| 健康| 奉节县| 铁岭市| 彭山县| 开原市| 古丈县| 囊谦县| 姜堰市| 江北区| 积石山| 常宁市| 襄垣县| 云安县| 玉门市| 瑞昌市| 宁津县| 浏阳市| 轮台县| 于田县| 望都县| 九江市| 集贤县| 北安市| 泗洪县| 古交市| 明水县| 高阳县| 奉贤区| 徐水县| 宁强县| 莱州市| 噶尔县|