List 取 Array

来源:互联网 发布:数据库管理系统有哪些 编辑:程序博客网 时间:2024/06/14 18:08

          List<Object> objectList={[1,2.00],[2,2.00]};

          Iterator it=objectList. iterator();

          while(it.hasNext()){

                   Object[] arr=(Object[])it.next();

             }

          注:集合中的数据由sql语句多表连接 查询出来的多数据 。

                  对象——数组



0 0
原创粉丝点击