private static List removeDuplicate(List list) {
HashSet h = new HashSet(list);
list.clear();
list.addAll(h);
return list;
}

posted on 2019-04-02 14:27  毛会懂  阅读(140)  评论(0编辑  收藏  举报