码迷,mamicode.com
首页 > 其他好文 > 详细

list去从复

时间:2017-01-06 12:42:13      阅读:131      评论:0      收藏:0      [点我收藏+]

标签:contains   lis   i++   query   ++   nbsp   bsp   time   去重   

for(int i=0;i<queryList.size();i++){//去重
             String time =queryList.get(i);
             if(!tempList.contains(time)){
                tempList.add(time);
             }
         }

list去从复

标签:contains   lis   i++   query   ++   nbsp   bsp   time   去重   

原文地址:http://www.cnblogs.com/kongxc/p/6255697.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!