전체 글145 [JAVA 8] 메소드/생성자 레퍼런스 # 메소드 레퍼런스 표현 - object::instanceMethod- Class::staticMethod- Class::instanceMethod ex)button.setOnAction(Syste.out::println); - super::instanceMethod ex) 1. Greet 클래스 생성2. ConcurrentGreet extends Greet 생성3. ConcurrentGreet greet() 함수 구현 : Thread(super::greet); # 생성자 레퍼런스 표현- Class::new ex) Button[] buttons = stream.toArray(Button[]::new) 2019. 2. 16. [Spring] CSV 다운로드 - AbstractView & supercsv 작성 중~ https://github.com/ElephantBoy/exceldownload 2019. 2. 13. [Spring] webjars 사용하기 1. Dependency 추가하기 org.webjars.bower jquery 3.3.1 2. WebConfigurer 구현하기 @Configuration public class WebConfig implements WebMvcConfigurer { @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { registry .addResourceHandler("/webjars/**") .addResourceLocations("/webjars/"); } } 3. Html에서 사용하기 2019. 2. 12. [Intellij] File and Code Templates # Thymeleaf 2019. 1. 19. 이전 1 ··· 8 9 10 11 12 13 14 ··· 37 다음