This chapter presents the Java collections framework and its three main interfaces: List, Set, and Map, including a discussion and demonstration of generics. The equals() and hashCode() methods are also discussed in the context of Java collections. Utility classes for managing arrays, objects, and time/date values have corresponding dedicated sections too.
The following topics will be covered in this chapter:
- List, Set, and Map interfaces
- Collections utilities
- Arrays utilities
- Object utilities
- The java.time package