일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- ES
- 스프링
- cleancode
- 백준
- 개발
- 애자일기법
- 그리디알고리즘
- database
- 엘라스틱서치
- framework
- JPA
- Spring
- 코딩테스트
- db
- Elasticsearch
- 자바
- 코드
- 애자일프로그래밍
- 알고리즘
- 클린코드
- 개발자
- 애자일
- 읽기쉬운코드
- 그리디
- Baekjoon
- API
- 데이터베이스
- 프레임워크
- Java
- 코딩
- Today
- Total
목록java1.8 (2)
시뻘건 개발 도전기
1. Stream을 활용한 최대값, 최소값, 개수 추출하기 /** * Returns the minimum element of this stream according to the provided * {@code Comparator}. This is a special case of a * reduction. * * This is a terminal operation. * * @param comparator a non-interfering, * stateless * {@code Comparator} to compare elements of this stream * @return an {@code Optional} describing the minimum element of this stream, * or an..
Method Reference는 기존에 선언되어있는 method를 지정하고 싶을 때 ::(더블콜론)을 사용해서 사용한다. Method Reference 아래 4가지의 케이스가 존재한다. 클래스의 static method를 지정 선언된 객체의 instance method를 지정 객체의 instance method를 지정 클래스의 constructor를 지정 1. 클래스의 static method를 지정 : {Class Name}::{Static Method Name} public class Exercise { public static void main(String[] args) { int num = Integer.parseInt("123"); System.out.println(num); // 123 Fun..