Introduction
Collection 이란 객체의 그룹을 표현하는 객체.
Collection framework 는 컬렉션을 표현하며 컬렉션을 내부 구현과 독립적으로 조작할 수 있게 해주는 일관성 있는 설계
collection framework를 활용 했을때의 장점은 아래와 같다.
- Reduces programming effort
- Increases performance
- Provides interoperability between unrelated APIs
- Reduces the effort required to learn APIs (????)
- Fosters software reuse
Collection Interfaces & Implementations
List
Set
HashSet & TreeSetQueue
QueueBlockingQueue
Map
- Map은 true collections 는 아니지만 collection-view 연산을 제공함
- e.g.)
HashMap.
entrySet
()
- 이를 통해 Map을 collection 처럼 조작할 수 있음

General-purpose implementations
Java Collection -ImmutableCollections