728x90
인터페이스와 구현체를 분리하는게 설계상 좋다.
단축키
Ctrl + O : @Override
참고
https://www.inflearn.com/questions/47449
ConcurrentHashMap() 을 써본적이 없어서 찾아봤다.
Document 로 보면 Class ConcurrentHashMap<K, V>
ConcurrentHashMap (Java SE 11 & JDK 11 )
A hash table supporting full concurrency of retrievals and high expected concurrency for updates. This class obeys the same functional specification as Hashtable, and includes versions of methods corresponding to each method of Hashtable. However, even tho
docs.oracle.com
K : 이 맵에 의해 유지되는 키의 유형을 나타낸다.
V : 매핑된 값의 유형을 나타낸다.
더보기
아직까지 API를 다 읽어야 하는지 모르겠다...
'Spring > Spring' 카테고리의 다른 글
[spring / 기본] 핵심 core 강의 04. 주문, 할인 도메인 실행과 테스트/ 05. 객체 지향성 체크(원리 적용) (0) | 2022.08.29 |
---|---|
[Spring / 기본 ] 핵심 core 강의 02. 설계 (0) | 2022.08.19 |
[Spring / 기본 ] 핵심 core 강의 01.setting (0) | 2022.08.19 |
[Spring / 기본] 객체 지향 설계와 스프링 (0) | 2022.08.19 |
[Spring / 기본] SOLID : 좋은 객체 지향 설계의 5가지 원칙 (0) | 2022.08.19 |