NutMap map = new NutMap();
StationType stationType = new StationType();
stationType.setId(1);
stationType.setType_name("dsd");
map.addv("a", stationType);
System.out.println(map.getList("a", stationType.getClass()));
Record record = new Record();
record.set("a", "asad");
record.set("c", "bsdadas");
map.addv("b", record);
System.out.println(map.getList("b", Record.class));
输出我自己的类型时是个集合没错,输出record时报类型转换异常