File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/java/What's New in JDK8 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ forEach 是为 Lambda 而设计的,保持了最紧凑的风格。而且 Lambda
494
494
495
495
中间操作 map 会将元素根据指定的 Function 接口来依次将元素转成另外的对象。
496
496
497
- 下面的示例展示了将字符串转换为大写字符串。你也可以通过map来讲对象转换成其他类型 ,map返回的Stream类型是根据你map传递进去的函数的返回值决定的。
497
+ 下面的示例展示了将字符串转换为大写字符串。你也可以通过map来将对象转换成其他类型 ,map返回的Stream类型是根据你map传递进去的函数的返回值决定的。
<
6787
tr class="diff-line-row">498
498
499
499
```java
500
500
// 测试 Map 操作
@@ -930,4 +930,4 @@ System.out.println(hints2.length); // 2
930
930
931
931
** Java 工程师必备学习资源: ** 一些Java 工程师常用学习资源[公众号](#公众号)后台回复关键字 ** “1 ”** 即可免费无套路获取。
932
932
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)
You can’t perform that action at this time.
0 commit comments