向List里添加自定义Bean格式的数据
public List createExtendInfoBeanList(){ List<ExtendInfoBean> extendInfoBeanList=new ArrayList<ExtendInfoBean>(); for (int i=0;i<10;i++){ extendInfoBeanList.get(i).setFieldName("1"); extendInfoBeanList.get(i).setFieldValue("1"); } return extendInfoBeanList; }