Java – trove library threadsafe?

Is GNU trove library thread safe I'm interested in tobjectdoublehashmap I read their documentation but didn't mention anything, so we don't think it's thread safe

Solution

It is not thread safe You can use synchronized or your own lock to make it thread safe

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>