[java]移除List中重複的Object ... Set<E> unique = new LinkedHashSet<>(list); list.clear(); list.addAll(unique); return list; }. (二)使用set.
確定! 回上一頁