expiringmap icon indicating copy to clipboard operation
expiringmap copied to clipboard

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

Open Raidez opened this issue 2 years ago • 1 comments

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 avatar Apr 28 '23 07:04 Raidez

up

Raidez avatar Feb 01 '24 09:02 Raidez