List<String> listNew = new ArrayList<>();
for (String str : pharmacyList) {
if (!listNew.contains(str)) {
listNew.add(str);
}
}
String去除重复
最新推荐文章于 2022-12-06 16:53:12 发布
List<String> listNew = new ArrayList<>();
for (String str : pharmacyList) {
if (!listNew.contains(str)) {
listNew.add(str);
}
}