ArrayList<String> list = new ArrayList<String>(Arrays.asList("a","b","c"));
Iterator<String> iter = list.iterator();
while(iter.jasMext()) {
Strubg s = iter.nex();
if(s.equals("a")){
iter.remove();
}
}
ArrayList<String> list = new ArrayList<String>(Arrays.asList("a","b","c"));
Iterator<String> iter = list.iterator();
while(iter.jasMext()) {
Strubg s = iter.nex();
if(s.equals("a")){
iter.remove();
}
}