for(int i=0;i<queryList.size();i++){//去重 String time =queryList.get(i); if(!tempList.contains(time)){ tempList.add(time); } }
list去从复
原文:http://www.cnblogs.com/kongxc/p/6255697.html