Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 애자일기법
- 개발
- 스프링
- 코딩
- 클린코드
- framework
- mongoDB
- ES
- 프레임워크
- 코딩테스트
- API
- 그리디
- JPA
- Java
- Elasticsearch
- 자바
- 코드
- Baekjoon
- 애자일프로그래밍
- 데이터베이스
- 알고리즘
- spring boot
- 읽기쉬운코드
- Spring
- 개발자
- database
- 엘라스틱서치
- 백준
- cleancode
- 그리디알고리즘
Archives
- Today
- Total
목록reference (1)
튼튼발자 개발 성장기🏋️
Method Reference
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..
프로그래밍/JAVA
2022. 7. 14. 16:01