Skip to content

Commit 8c134e8

Browse files
authored
更改错别字
/docs/java/What's New in JDK8/Java8Tutorial.md->Map(映射)->“讲”改为“将”
1 parent 294776d commit 8c134e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/java/What's New in JDK8/Java8Tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ forEach 是为 Lambda 而设计的,保持了最紧凑的风格。而且 Lambda
494494

495495
中间操作 map 会将元素根据指定的 Function 接口来依次将元素转成另外的对象。
496496

497-
下面的示例展示了将字符串转换为大写字符串。你也可以通过map来讲对象转换成其他类型,map返回的Stream类型是根据你map传递进去的函数的返回值决定的。
497+
下面的示例展示了将字符串转换为大写字符串。你也可以通过map来将对象转换成其他类型,map返回的Stream类型是根据你map传递进去的函数的返回值决定的。
498498

499499
```java
500500
// 测试 Map 操作
@@ -930,4 +930,4 @@ System.out.println(hints2.length); // 2
930930

931931
**Java工程师必备学习资源:** 一些Java工程师常用学习资源[公众号](#公众号)后台回复关键字 **1** 即可免费无套路获取。
932932

933-
![我的公众号](https://user-gold-cdn.xitu.io/2018/11/28/167598cd2e17b8ec?w=258&h=258&f=jpeg&s=27334)
933+
![我的公众号](https://user-gold-cdn.xitu.io/2018/11/28/167598cd2e17b8ec?w=258&h=258&f=jpeg&s=27334)

0 commit comments

Comments
 (0)