关于在java中List取值的方法(List中是数据对象)!

      
        Iterator i = list.iterator();list 是已填充好对象的list
        Jobdicuser2 user= new Jobdicuser2();Jobdicuser2是一个数据对象
        while(i.hasNext())
        {
            user = (Jobdicuser2)i.next();
            xb =user.getXb();
            xl =user.getPycc();   
        } 
posted @ 2007-12-19 15:14  王兴2008-偶想家了!  阅读(8712)  评论(1编辑  收藏  举报