android - rxjava中的filter不就是if吗,有别的高端的地方吗
ringa_lee
ringa_lee 2017-04-18 09:07:54
0
2
754

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

ringa_lee
ringa_lee

ringa_lee

reply all(2)
迷茫

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.

阿神

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template