일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 개발
- 읽기쉬운코드
- ES
- framework
- cleancode
- 애자일프로그래밍
- database
- 스프링
- 알고리즘
- API
- Baekjoon
- 코딩테스트
- 그리디알고리즘
- 코딩
- 데이터베이스
- 애자일기법
- Elasticsearch
- 개발자
- JPA
- 코드
- 클린코드
- Java
- 그리디
- 백준
- 자바
- 엘라스틱서치
- mongoDB
- spring boot
- 프레임워크
- Spring
- Today
- Total
목록Functional (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..