search

Home  >  Q&A  >  body text

android - rxjava中的filter不就是if吗,有别的高端的地方吗

rxjava中的filter不就是if吗,有别的高端的地方吗

ringa_leeringa_lee2766 days ago729

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-18 09:09:54

    Filter should be translated into filter, which is a commonly used filter operator in RxJava. Its purpose is to filter according to specified conditions and pass the results that meet the conditions to subscribers. Its function alone is not surprising, but when combined with RxJava, it is a necessary and commonly used function.
    Isn’t what you are talking about just if? Fundamentally, it does use the judgment logic represented by if, but you cannot say that the house is made of bricks, just because the house is bricks.

    reply
    0
  • 阿神

    阿神2017-04-18 09:09:54

    filter Generally translated as "filter",
    http://baike.baidu.com/item/%...

    reply
    0
  • Cancelreply