Skip to content

Commit 59924d4

Browse files
添加JDK1.8说明
添加JDK1.8说明
1 parent 9308bad commit 59924d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MD/HashMap.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ map.forEach((key,value)->{
5050

5151
**强烈建议**使用第一种 EntrySet 进行遍历。
5252

53-
第一种可以把 key value 同时取出,第二种还得需要通过 key 取一次 value,效率较低, 第三种通过外层遍历table,内层遍历链表或红黑树。
53+
第一种可以把 key value 同时取出,第二种还得需要通过 key 取一次 value,效率较低, 第三种需要JDK1.8以上,通过外层遍历table,内层遍历链表或红黑树。
5454

5555

5656
## notice

0 commit comments

Comments
 (0)