This module covers the Java Collections Framework and its implementations.
-
Collection Hierarchy
- Collection interface
- Iterable and Iterator
-
List Interface
- ArrayList
- LinkedList
- Vector
- Common operations and use cases
-
Set Interface
- HashSet
- LinkedHashSet
- TreeSet
- Set operations
-
Queue Interface
- Queue implementations
- Deque implementations
- Priority queues
-
Map Interface
- HashMap
- LinkedHashMap
- TreeMap
- Hashtable
- Map operations
-
Utility Classes
- Collections class
- Arrays class
- Sorting and searching
-
Advanced Topics
- Comparator and Comparable
- Custom collections
- Performance considerations
Examples demonstrate usage patterns, performance characteristics, and best practices for each collection type.
mvn clean installmvn test