Chapter 19
java.util Part 2: More Utility Classes
This
chapter continues our discussion of java.util
by examining those classes and interfaces that are not part of the Collections
Framework. These include classes that tokenize strings, work with dates,
compute random numbers, bundle resources, and observe events. Also covered are
the Formatter and Scanner classes which make it easy to
write and read formatted data, and the new Optional
class, which makes it easier to handle situations in which a value may be
absent. Finally, the subpackages of java.util
are summarized at the end of this chapter. Of particular interest is java.util.function, which defines
several standard functional interfaces.
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.