Skip to content

Commit 0dc4d03

Browse files
authored
删除第14章多出的一行 (lingcoder#526)
1 parent 988e61e commit 0dc4d03

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/book/14-Streams.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,10 +1854,6 @@ public class MapCollector {
18541854

18551855
大多数情况下,`java.util.stream.Collectors` 中预设的 **Collector** 就能满足我们的要求。除此之外,你还可以使用第二种形式的 `collect()`。 我把它留作更高级的练习,下例给出基本用法:
18561856

1857-
<!--
1858-
The capChars randomly-generated Iterator of capitalletters starts as a stream, then the iterator() method allows us touse it in the stream() method
1859-
-->
1860-
18611857
```java
18621858
// streams/SpecialCollector.java
18631859
import java.util.*;

0 commit comments

Comments
 (0)