标签:去重复 ati public arraylist static 去重 ash dal turn
class zharraylistquchong {
public static ArrayList quchong(ArrayList arrayname){
HashSet h=new HashSet(arrayname);
ArrayList quchongarray=new ArrayList();
arrayname.clear();
arrayname.addAll(h);
arrayname.toArray();
quchongarray=arrayname;
return quchongarray;
}
}
标签:去重复 ati public arraylist static 去重 ash dal turn
原文地址:https://www.cnblogs.com/tensorflowandroid/p/12651255.html