Skip to content

修改HashSet在存变量时的部分情况描述#1

Merged
Find-K merged 1 commit intomainfrom
Find-K-patch-3
Dec 1, 2025
Merged

修改HashSet在存变量时的部分情况描述#1
Find-K merged 1 commit intomainfrom
Find-K-patch-3

Conversation

@Find-K
Copy link
Copy Markdown
Owner

@Find-K Find-K commented Dec 1, 2025

当hashCode不相等,equals相等时,会直接将变量加入当前位置的链表或树结构内,而不是重新散列,只有扩容时会重新散列

@Find-K Find-K merged commit 8acf4da into main Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant