private static List removeDuplicate(List list) {
HashSet h = new HashSet(list); list.clear(); list.addAll(h); return list; }本文共 179 字,大约阅读时间需要 1 分钟。
private static List removeDuplicate(List list) {
HashSet h = new HashSet(list); list.clear(); list.addAll(h); return list; }转载于:https://www.cnblogs.com/maohuidong/p/10642433.html