在1.5里面容器要事先指定类型如:
List<Integer> lt=new LinkedList<Integer>();
lt.add(new Integer(0));


如果这样定义
List lt=new LinkedList();
lt.add(new Integer(0));
就会报note了
Note: D:\1_jb\JavaApplication1\src\javaapplication1\Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.


这样
        ArrayList<HashMap> fieldGetList=new ArrayList<HashMap>();
        HashMap<String,String> annal=new HashMap<String,String>();
        annal.put("111","222");
        fieldGetList.add(annal);

就可以编译OK了