DeduplicationUtils1 7월 14일 project - 중복데이터 잡기, DeduplicationUtils import java.util.List; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Collectors; public class DeduplicationUtils { public static List deduplication(final List list, Function key){ return list.stream().filter(deduplication(key)) .collect(Collectors.toList()); } private static Pr.. 2023. 7. 16. 이전 1 다음