Contents
Collections Course Content
Introduction to Collections
- What is Collection?
- What Is a Collections Framework?
- Benefits of the Java Collections Framework
- Difference between arrays and collections
- Types of Collections
List
- What is List?
- Advantages of List
- Disadvantages of List
- Applications
- List Methods
- Types Of ListDifference between ArrayList and Vector
- ArrayList
- Vector
- Stack
- LinkedList
- Concurrent Lists
- CopyOnWriteArrayList
- Difference between ArrayList and LinkedList
- Difference between ArrayList and CopyOnWriteArrayList
Examples on above lists
Reading Elements from collections
- Using getter methods
- Enhanced for loop
- CursorsDifference between Iterator and ListIterator
- Iterator
- ListIterator
- Enumeration
- Difference between Iterator and Enueration
- What is failfast iterator and failsafe iterator
Working with Comparable and Comparator
Set
- What is Set?
- Advantages of Set
- Applications of Set
- Set methods
- Types of Sets
- HashSet
- LinkedHashSet
- SortedSet
- NavigableSet
- TreeSet
- Concurrent sets
- CopyOnWriteArraySet
- ConcurrentSkipListSet
Examples on each type of set
Queue
- What is Queue?
- Advantages of Queue
- Application of Queue
- Methods of Queue
- Types of QueueConcurrent Queues
- PriorityQueue
- LinkedBlockingQueue
- ArrayBlockingQueue
- PriorityBlockingQueue
- DelayQueue
- SynchronousQueue
- LinkedBlockingDeque
- LinkedTransferQueue
Examples on each type of Queue
Map
- What is Map?
- Advantages of Map
- Map methods
- Types of Maps
- HashMap
- LinkedHashMap
- SortedMap
- NavigableMap
- TreeMap
- IdentityHashMap
- WeakHashMap
- Hashtable
- Properties
Concurrent Maps
- ConcurrentHashMap
- ConcurrentSkipListMap