Collection Hierarchy



Concurrent Class of Collection package

Collection classes corresponding concurrent package classes are

java.util package Class java.util.concurrent package class
ArrayList CopyOnWriteArrayList
HashSet CopyOnWriteArraySet
HashMap ConcurrentHashMap

Synchronized Collections

Collection classes corresponding Synchronized classes are

Collection Class Collections Synchronized Class
ArrayList Collections.synchronizedList
HashSet Collections.synchronizedSet
TreeSet Collections.synchronizedSortedSet
HashMap Collections.synchronizedMap
TreeMap Collections.synchronizedSortedMap