Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Robert Richardson   on Sep 18 In Java Category.

  
Question Answered By: Jay Richards   on Sep 18

In Java 5 or later, you can use ConcurrentHashMap for this purpose. You can also use an implementation from Javolution package which is called FastMap. Both of them implement ConcurrentMap interface that includes some additional atomic methods such as putIfAbsent and replace.

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on A question on Synchronization Or get search suggestion and latest updates.


Tagged: