자바에서 목록성 데이터를 처리하는 자료구조
다수의 Data를 쉽고 효율적으로 처리할 수 있게 표준화된 방법을 제공하는 Class 집합. 아래 3가지의 형태로 상속되어 이용된다.
- List Interface
- Set Interface
- Map Interface
설명 | 종류 | |
List<type> | 순서가 있는 집합, 데이터 중복 가능 | Vector, ArrayList, LinkedList, Stack, Queue |
Set<type> | 순서 X, 데이터 중복 불가 | HashSet, TreeSet |
Map<Key type, Value type> | Key:Value 형태, Key는 중복 불가 Value는 가능 | HashMap, TreeMap, Hashtable, Properties |
'JAVA' 카테고리의 다른 글
Map/HashMap 이란 (0) | 2019.06.24 |
---|---|
객체(Object)와 인스턴스(Instance) (0) | 2019.06.14 |
배열(Array)이란? (0) | 2019.06.12 |
Scanner와 BufferedReader (0) | 2019.05.28 |