Java tutorial
//package com.java2s; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class Main { public static <K, V> Map<K, V> newMap() { return new ConcurrentHashMap<K, V>(); } }