ArrayList a = new ArrayList(数组); for(int i = 0 ;i Object obj = a[i]; if(a.contains(obj)){ a.remove(i); } }