🌈 搜索
📅  最后修改于: 2022-03-11 14:45:09.352000             🧑  作者: Mango
ArrayList withDuplicateValues; HashSet withUniqueValue = new HashSet<>(withDuplicateValues); withDuplicateValues.clear(); withDuplicateValues.addAll(withUniqueValue);