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

could provide concurrency security and primitive types map? #38

Closed
zs121233 opened this issue May 29, 2023 · 4 comments
Closed

could provide concurrency security and primitive types map? #38

zs121233 opened this issue May 29, 2023 · 4 comments

Comments

@zs121233
Copy link

our DTO is protoBuffer and long is primitive type.
but we need use primitive type long to get object from map , cause lots of Long.valueof

@dweiss
Copy link
Member

dweiss commented May 29, 2023

I don't think I understand your question but use LongObjectHashMap or LongObjectWormMap.

@dweiss dweiss closed this as completed May 29, 2023
@zs121233
Copy link
Author

just like ConcurrentHashMap,but user primitive type long or int?

@zs121233
Copy link
Author

I don't think I understand your question but use LongObjectHashMap or LongObjectWormMap.

just like ConcurrentHashMap,but use primitive type long or int?

@dweiss
Copy link
Member

dweiss commented May 29, 2023

Oh, I see. No - you can't use HPPC collections for multi-threaded access, sorry. There are no plans to do it.

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

2 participants