Commit 02a95c9
authored
Operator docs: add description and example for StreamConverters.javaCollector (#2992)
* Operator docs: add description and example for StreamConverters.javaCollector
Motivation:
The javaCollector operator doc page had a TODO placeholder instead of
documentation.
Modification:
- Replace TODO with a Description section explaining how javaCollector
works
- Add references to javaCollectorParallelUnordered and Sink.collect
- Add Scala and Java code examples using Collectors.toList
Result:
The StreamConverters.javaCollector operator docs are now complete.
Tests:
sbt "docs/Test/compile" -- passed
References:
Refs akka/akka-core#25468
* docs: remove Java version reference in javaCollector example
Signed-off-by: 钱多多 <2916947+wolf8334@users.noreply.github.com>
* docs: add license header to JavaCollectorDocExamples
Signed-off-by: 钱多多 <2916947+wolf8334@users.noreply.github.com>
* docs: add license header to JavaCollectorDocExamples
Signed-off-by: 钱多多 <2916947+wolf8334@users.noreply.github.com>
* docs: add license header to JavaCollectorDocExamples
Signed-off-by: 钱多多 <2916947+wolf8334@users.noreply.github.com>
---------
Signed-off-by: 钱多多 <2916947+wolf8334@users.noreply.github.com>1 parent ef5bfa6 commit 02a95c9
3 files changed
Lines changed: 100 additions & 2 deletions
File tree
- docs/src
- main/paradox/stream/operators/StreamConverters
- test
- java/jdocs/stream/operators
- scala/docs/stream/operators
Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments