itwanger / itwanger/toBeBetterJavaer
面渣逆袭集合框架篇最后的Hashmap putVal
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description

这里这个是“存在”吧,如果有值返回老值,然后Hashset的add比较!=null,返回false表明插入失败
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.
Research direction
Start at the collection-framework article section identified by the title and screenshot, and verify the HashMap.putVal and HashSet.add return-value semantics against the Java documentation or source. Done means the article’s wording accurately explains when an existing value is returned and why HashSet.add reports failure; no file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100