Learn about and gain hands-on experience with the Java Collections framework.
Overview
Syllabus
Introduction
- Java collections framework
- What you should know
- Solving everyday problems with data
- Data structures
- Collections framework architecture
- Working with a collection
- Beyond the array
- Interfaces
- Collection types
- The Collection interface
- Collection methods
- Creating a collection
- Generic typing
- Object comparison
- The equals method
- Challenge: Adding and removing collection elements
- Challenge: Advanced collection problems
- Iterating collection elements
- Accessing collection elements with iterators
- Modifying collections while iterating
- Accessing collection elements with streams
- Lambda expressions
- Stream operations
- Challenge: Iterating collections
- Set
- HashSet
- TreeSet
- List interface
- List implementations
- ArrayList
- Challenge: Working with Lists
- Queue interface
- Queue implementations
- Deque interface
- Using an ArrayDeque as a stack
- Map interface
- Collection views
- Map implementations
- How a HashMap works
- Map methods
- Iterating Maps
- Challenge: Working with Maps
- Ordering elements
- Sorting collections
- Comparators
- Finding elements in a collection
- Course wrap-up
Taught by
David Gassner