Java (2) 썸네일형 리스트형 stream filter distinct 함수 생성 /* * distinct */ public static Predicate distinctByKey(Function keyExtractor) { Set seen = ConcurrentHashMap.newKeySet(); return t -> seen.add(keyExtractor.apply(t)); } 사용 List list = .... list = list.stream().filter(distinctByKey(Member::getId)).collect(Collectors.toList()); Spring Framework 스프링 프레임워크 Spring Framework (스프링 프레임워크)를 이용하여, 개발하기위해 필요한 것은 무엇일까? 기본적으로 알아야 할것은? 등등...... -- Spring Framework - Refference 1. The Spring Framework - Reference Documentation Refference Doc : http://static.springsource.org/spring/docs/2.5.x/reference/index.html API : http://static.springsource.org/spring/docs/2.5.x/api/index.html - 스프링은 다른 프로젝트에서 개발된 컴포넌트를 조립해서 응집력 있는 애플리케이션의 개발이 가능하도록 도와주는 IoC 컨테이너이며, 다른 말.. 이전 1 다음