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

Why test object equality when you call put on the map ? #82

Open
Raidez opened this issue Apr 28, 2023 · 1 comment
Open

Why test object equality when you call put on the map ? #82

Raidez opened this issue Apr 28, 2023 · 1 comment

Comments

@Raidez
Copy link

Raidez commented Apr 28, 2023

It's just a question, but why ?

I've got a problem where I can't change the override of equals of my object.
In classic HashMap implementation, put always make the change whatever the equality.

So why your implementation of ExpiringMap works differently ?

@Raidez
Copy link
Author

Raidez commented Feb 1, 2024

up

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

No branches or pull requests

1 participant