Set, Queue, Map

탱귤생귤·2023년 5월 7일

JAVA

목록 보기
12/20

Hash

Does not have an order. It's an random order

LinkedHash

Orders by inplemented order.

Tree

Orders by the actual values of the elements.


Set

Do not accept duplication.
ex)TreeSet, HashSet, LinkedHashSet

Queue

It has a queue, and the first element is affected by the operation
ex)PriorityQueue

Map

It has a <key,value>.
ex)HashMap, LinkedHashMap, TreeMap


New collections to me!

0개의 댓글