본문 바로가기
Spring/Spring

[Spring / 기본 ] 핵심 core 강의 03. 도메인 개발

by SIXXXX_ 2022. 8. 19.
728x90

인터페이스와 구현체를 분리하는게 설계상 좋다.

 

단축키 

Ctrl + O : @Override

 

참고 

https://www.inflearn.com/questions/47449

 

ConcurrentHashMap() 을 써본적이 없어서 찾아봤다.

Document 로 보면 Class ConcurrentHashMap<K, V>

https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ConcurrentHashMap.html

 

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를 다 읽어야 하는지 모르겠다...