public static Map<K, V> synchronizedMap (Map<K, V> map) Returns a wrapper on the specified map which synchronizes all access to the map. Parameters mapthe map to wrap in a synchronized map. Returns a synchronized Map. 转载于:https://www.cnblogs.com/liu666bin/archive/2013/01/11/Collections.html