Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
If you use a map of objects the GC can't free them, although that may be the desired effect. identityHashCode is not collision-free, see here, so that could be a problem if you have a lot of objects. Otherwise your solution is good.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.