遍历返回的数据

morexyoung 2019-12-02

/** //遍历result.getData(),  */    // 方法一Iterator    Iterator it = result.getData().iterator();    while(it.hasNext()){        System.out.println("data里面的值是:   "+it.next());        Iterator tt = it.next()    }/*** 方法二for(Object o:result.getData()){    System.out.println("data里面的值是:  "+o);

}

相关推荐