We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7826c64 + edf036f commit 89306adCopy full SHA for 89306ad
docs/java/Java基础知识.md
@@ -219,7 +219,7 @@ Java 中的注释有三种:
219
>
220
> ```java
221
> // check to see if the employee is eligible for full benefits
222
-> if ((employee.falgs & HOURLY_FLAG) && (employee.age > 65))
+> if ((employee.flags & HOURLY_FLAG) && (employee.age > 65))
223
> ```
224
225
> 应替换为
docs/java/collection/HashMap.md
@@ -512,7 +512,7 @@ public class HashMapDemo {
512
513
}
514
/**
515
- * 如果既要遍历key又要value,那么建议这种方式,应为如果先获取keySet然后再执行map.get(key),map内部会执行两次遍历。
+ * 如果既要遍历key又要value,那么建议这种方式,因为如果先获取keySet然后再执行map.get(key),map内部会执行两次遍历。
516
* 一次是在获取keySet的时候,一次是在遍历所有key的时候。
517
*/
518
// 当我调用put(key,value)方法的时候,首先会把key和value封装到
0 commit comments