提交 89306ad9 编写于 作者: S shuang.kou

Merge branch 'master' of https://github.com/Snailclimb/JavaGuide

......@@ -219,7 +219,7 @@ Java 中的注释有三种:
>
> ```java
> // check to see if the employee is eligible for full benefits
> if ((employee.falgs & HOURLY_FLAG) && (employee.age > 65))
> if ((employee.flags & HOURLY_FLAG) && (employee.age > 65))
> ```
>
> 应替换为
......
......@@ -512,7 +512,7 @@ public class HashMapDemo {
}
/**
* 如果既要遍历key又要value,那么建议这种方式,为如果先获取keySet然后再执行map.get(key),map内部会执行两次遍历。
* 如果既要遍历key又要value,那么建议这种方式,为如果先获取keySet然后再执行map.get(key),map内部会执行两次遍历。
* 一次是在获取keySet的时候,一次是在遍历所有key的时候。
*/
// 当我调用put(key,value)方法的时候,首先会把key和value封装到
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册