Commit 91fff1c
authored
BAEL-3938: Add new section on Java 10 Collectors.toUnmodifiableList() (eugenp#10488)
* Add java10 examples in the style of the existing examples
The existing examples in core-java-streams-2 module still had system out in them instead of assertions, so I kept that style to keep the article consistent.
* Remove code example that is not in the article1 parent ad80720 commit 91fff1c
2 files changed
Lines changed: 21 additions & 0 deletions
File tree
- core-java-modules/core-java-10
- src/test/java/com/baeldung/java10/streams
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
Lines changed: 20 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 | + | |
0 commit comments