标签:cat moved set remove ring ati string list str
public static List<String> removeDuplicate(List<String> list) {
HashSet<String> h = new HashSet<String>(list);
list.clear();
list.addAll(h);
return list;
}
标签:cat moved set remove ring ati string list str
原文地址:https://www.cnblogs.com/yazoon/p/11429857.html