X Tutup
Skip to content

Commit ebcdae6

Browse files
committed
Improved phrasing
1 parent 04e235f commit ebcdae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Part 3 - Taming the sequence/7. Custom operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
RxJava offers a very large [operator set](http://reactivex.io/RxJava/javadoc/rx/Observable.html). Counting all the overloads, the number of operators on Rx is over 200. A smaller number of those is essential, meaning that you cannot achieve an Rx implementation without them. Others are there just for convenience and for a more self-descriptive name. For example, if `source.First(user -> user.isOnline())` didn't exist, we would still be able to do `source.filter(user -> user.isOnline()).First()`.
44

5-
Despite many convenience operators, the operator set of RxJava is still very basic. It provides the building blocks for the developer to do something useful. There is no operator for calculating a running average from a sequence of numbers. But you can make one yourself:
5+
Despite many convenience operators, the operator set of RxJava is still very basic. Rx offers the building blocks that you combine, but eventually you will want to define common cases that repeat within your application. in standard Java, this would be done with custom classes and methods. In Rx, you would like to design custom operators. For example, there is no operator for calculating a running average from a sequence of numbers. But you can make one yourself:
66

77
```java
88
class AverageAcc {

0 commit comments

Comments
 (0)
X Tutup