Miscellaneous Utility Classes and Interfaces
In
addition to the classes already discussed, java.util
includes the following classes:
Base64 :
Supports Base64 encoding. Encoder and Decoder nested classes are also defined.
(Added by JDK 8.)
DoubleSummaryStatistics
: Supports the compilation of double values. The following statistics are
available: average, minimum, maximum, count, and sum. (Added by JDK 8.)
EventListenerProxy
: Extends the EventListener class to allow additional II parameters. See
Chapter 24 for a discussion of event listeners.
EventObject
: The superclass for all event classes.
Events are discussed in : :
FormattableFlags
: Defines formatting flags that are used with the Formattable : interface.
: :
IntSummaryStatistics
: Supports the compilation of int values. The following statistics are
available: average, minimum, maximum, count, and sum. (Added by JDK 8.)
Objects
: Various methods that operate on objects. :
:
PropertyPermission
: Manages property permissions. : :
ServiceLoader
: Provides a means of finding service providers. : :
StringJoiner
: Supports the concatenation of CharSequences, which may include a separator, a
prefix, and a suffix. (Added by JDK 8.)
UUID :
Encapsulates and manages Universally Unique Identifiers(UUIDs).
The
following interfaces are also packaged in java.util:
EventListener
: Indicates that a class is an event listener. Events are discussed in Chapter
24.
Formattable
: Enables a class to provide custom formatting.
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.