Skip to content

Conversation

@gordinmitya
Copy link
Contributor

если мы переопределяем equals чтобы сравнивать с другими объектами (а мы это собираемся делать в hashset/hashmap) то name.equals(obj) никогда не будет true

@gordinmitya gordinmitya requested a review from neee April 11, 2019 09:14
@neee neee merged commit 1d79468 into master Apr 11, 2019
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.

2 participants