Here you can find the source of createConcurrentHashMap()
public static <K, V> ConcurrentHashMap<K, V> createConcurrentHashMap()
//package com.java2s; //License from project: Apache License import java.util.concurrent.ConcurrentHashMap; public class Main { public static <K, V> ConcurrentHashMap<K, V> createConcurrentHashMap() { return new ConcurrentHashMap<K, V>(); }//from w w w .j a va 2s. c om }