Here you can find the source of createConcurrentMap()
public static <K, V> ConcurrentMap<K, V> createConcurrentMap()
//package com.java2s; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; public class Main { public static <K, V> ConcurrentMap<K, V> createConcurrentMap() { return new ConcurrentHashMap<K, V>(); }/* ww w.j a v a 2 s .c om*/ public static <K, V> ConcurrentMap<K, V> createConcurrentMap(Map<? extends K, ? extends V> map) { if (map == null) { return null; } return new ConcurrentHashMap<K, V>(map); } public static <K, V> ConcurrentMap<K, V> createConcurrentMap(int initialCapacity) { return new ConcurrentHashMap<K, V>(initialCapacity); } public static <K, V> ConcurrentMap<K, V> createConcurrentMap(int initialCapacity, float loadFactor) { return new ConcurrentHashMap<K, V>(initialCapacity, loadFactor); } }