The classes that we will be discussing in this chapter, belong—together with Java collections and arrays discussed in the previous chapters—to the group of classes (mostly utilities from the Java Standard Library and Apache Commons) that every programmer has to master in order to become an effective coder. They also illustrate various software designs and solutions that are instructive and can be used as patterns for best coding practices.
We will cover the following areas of functionality:
- Managing objects
- Managing strings
- Managing time
- Manage random numbers
The list of the overviewed classes includes:
- java.util.Objects
- org.apache.commons.lang3.ObjectUtils
- java.lang.String
- org.apache.commons.lang3.StringUtils
- java.time.LocalDate
- java.time.LocalTime
- java.time.LocalDateTime
- java.lang.Math
- java.util.Random