HashMap(JDK1.8)源码+底层数据结构分析.md中put方法的流程图,转变红黑树时的疑问
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- documentation
Research direction
Open HashMap(JDK1.8)源码+底层数据结构分析.md and inspect the put-method flowchart referenced in the issue. Compare the diagram with the JDK 1.8 HashMap put flow, including the linked-list insertion, treeifyBin call, modCount update, and resize check. Done when the diagram accurately reflects that control flow.
Written by the indexing model from the issue text.
Description
这里应该是先链表尾插,然后treeifyBin(tab, hash);跳出循环,执行最后面的++modCount;和判断是否需要扩容了吧?
- Dominant language
- JavaScript
- Stars
- 159k
- Forks
- 46.1k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Snailclimb/JavaGuide
-
失效链接替换 Open
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Snailclimb/JavaGuide#2922 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
Snailclimb/JavaGuide#2649 · 2 comments ·
-
perfect content
Difficulty 1/5 Under an hour Newbie friendliness 55/100
Snailclimb/JavaGuide#2453 · 3 comments ·
-
perfect content
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Snailclimb/JavaGuide#2259 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Snailclimb/JavaGuide#2074 ·
All issues in Snailclimb/JavaGuide
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
georgestephanis/p2026#40 ·
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·