向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;
    }

 

posted @ 2019-12-07 12:06  测试一枚  阅读(665)  评论(0编辑  收藏  举报