Search code examples
javadictionaryguavaconcurrenthashmap

Google Guava newConcurrentMap base implementation


How is the newConcurrentMap implemented in backend? I mean is it based on a hashmap (buckets) or there is some other backend implementation


Solution

  • Currently it returns a java.util.concurrent.ConcurrentHashMap.