Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

아이템 11. equals를 재정의하려거든 hashCode도 재정의하라 #8

Open
tidavid1 opened this issue Jan 26, 2024 · 1 comment
Assignees
Labels
모든 객체의 공통 메서드 3장 모든 객체의 공통 메서드

Comments

@tidavid1
Copy link
Member

No description provided.

@tidavid1 tidavid1 added the 모든 객체의 공통 메서드 3장 모든 객체의 공통 메서드 label Jan 26, 2024
@tidavid1
Copy link
Member Author

왜 인텔리제이에서 hashCode를 재정의하면 31을 곱할까에 대한 의문에 대해서 시프트 연산과 소수라는 해답을 던져준 명쾌한 아이템이다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
모든 객체의 공통 메서드 3장 모든 객체의 공통 메서드
Projects
None yet
Development

No branches or pull requests

3 participants