类初始化时定义一个不可改变的Map集合
import java.util.HashMap;import java.util.Map;public class myMapUpdate{ private static final Map params = new HashMap(); static { params.put("001", "001"); params.put("002", "002