ArrayList<String> result =
new
ArrayList<String>();
for
(String s: sources){
if
(Collections.frequency(reslut, s) <
1
) result.add(s);
}
时间: 2024-10-29 10:47:51
ArrayList<String> result =
new
ArrayList<String>();
for
(String s: sources){
if
(Collections.frequency(reslut, s) <
1
) result.add(s);
}