java.util
Interfaces
| Collection |
The root interface in the collection hierarchy. |
| Comparator |
A comparison function, which imposes a total ordering on some collection of objects. |
| Deque |
A linear collection that supports element insertion and removal at both ends. |
| Enumeration |
An object that implements the Enumeration interface generates a series of elements, one at a time. |
| EventListener |
A tagging interface that all event listener interfaces must extend. |
| Formattable |
The |
| Iterator |
An iterator over a collection. |
| List |
An ordered collection, where the user has precise control over where in the list each element is inserted. |
| ListIterator |
An iterator for lists that allows the programmer to traverse the list in either direction, modify the list during iteration, and obtain the iterator's current position in the list. |
| Map |
An object that maps keys to values. |
| NavigableMap |
A |
| NavigableSet |
A |
| Observer |
A class can implement the |
| PrimitiveIterator |
A base type for primitive specializations of |
| Queue |
A collection designed for holding elements prior to processing. |
| RandomAccess |
Marker interface used by |
| SequencedCollection |
A collection that has a well-defined encounter order, that supports operations at both ends, and that is reversible. |
| SequencedMap |
A Map that has a well-defined encounter order, that supports operations at both ends, and that is reversible. |
| SequencedSet |
A collection that is both a |
| Provider |
Represents a service provider located by |
| Set |
A collection that contains no duplicate elements. |
| SortedMap |
A |
| SortedSet |
A |
| Spliterator |
An object for traversing and partitioning elements of a source. |
Classes
| AbstractCollection |
This class provides a skeletal implementation of the |
| AbstractList |
This class provides a skeletal implementation of the |
| AbstractMap |
This class provides a skeletal implementation of the |
| AbstractQueue |
This class provides skeletal implementations of some |
| AbstractSequentialList |
This class provides a skeletal implementation of the |
| AbstractSet |
This class provides a skeletal implementation of the |
| ArrayDeque |
Resizable-array implementation of the |
| ArrayList |
Resizable-array implementation of the |
| Arrays |
This class contains various methods for manipulating arrays (such as sorting and searching). |
| Base64 |
This class consists exclusively of static methods for obtaining encoders and decoders for the Base64 encoding scheme. |
| BitSet |
This class implements a vector of bits that grows as needed. |
| Calendar |
The class is an abstract class that provides methods for converting between a specific instant in time and a set of |
| Collections |
This class consists exclusively of static methods that operate on or return collections. |
| Currency |
Represents a currency. |
| Date |
The class |
| Dictionary |
The |
| DoubleSummaryStatistics |
A state object for collecting statistics such as count, min, max, sum, and average. |
| EnumMap |
A specialized |
| EnumSet |
A specialized |
| EventListenerProxy |
An abstract wrapper class for an |
| EventObject |
The root class from which all event state objects shall be derived. |
| FormattableFlags |
FormattableFlags are passed to the |
| Formatter |
An interpreter for printf-style format strings. |
| GregorianCalendar |
|
| HashMap |
Hash table based implementation of the |
| HashSet |
This class implements the |
| Hashtable |
This class implements a hash table, which maps keys to values. |
| HexFormat |
|
| IdentityHashMap |
This class implements the |
| IntSummaryStatistics |
A state object for collecting statistics such as count, min, max, sum, and average. |
| LinkedHashMap |
Hash table and linked list implementation of the |
| LinkedHashSet |
Hash table and linked list implementation of the |
| LinkedList |
Doubly-linked list implementation of the |
| ListResourceBundle |
|
| Locale |
A object represents a specific geographical, political, or cultural region. |
| LongSummaryStatistics |
A state object for collecting statistics such as count, min, max, sum, and average. |
| Objects |
This class consists of |
| Observable |
This class represents an observable object, or "data" in the model-view paradigm. |
| Optional |
A container object which may or may not contain a non- |
| OptionalDouble |
A container object which may or may not contain a |
| OptionalInt |
A container object which may or may not contain an |
| OptionalLong |
A container object which may or may not contain a |
| PriorityQueue |
An unbounded priority queue based on a priority heap. |
| Properties |
The |
| PropertyPermission |
Legacy security code; do not use. |
| PropertyResourceBundle |
|
| Random |
An instance of this class is used to generate a stream of pseudorandom numbers; its period is only 248. |
| ResourceBundle |
Resource bundles contain locale-specific objects. |
| Scanner |
A simple text scanner which can parse primitive types and strings using regular expressions. |
| ServiceLoader |
A facility to load implementations of a service. |
| SimpleTimeZone |
|
| Spliterators |
Static classes and methods for operating on or creating instances of |
| SplittableRandom |
A generator of uniform pseudorandom values (with period 264) applicable for use in (among other contexts) isolated parallel computations that may generate subtasks. |
| Stack |
The |
| StringJoiner |
|
| StringTokenizer |
The string tokenizer class allows an application to break a string into tokens. |
| Timer |
A facility for threads to schedule tasks for future execution in a background thread. |
| TimerTask |
A task that can be scheduled for one-time or repeated execution by a |
| TimeZone |
represents a time zone offset, and also figures out daylight savings. |
| TreeMap |
A Red-Black tree based |
| TreeSet |
A |
| UUID |
A class that represents an immutable universally unique identifier (UUID). |
| Vector |
The |
| WeakHashMap |
Hash table based implementation of the |
Exceptions
| ConcurrentModificationException |
This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible. |
| DuplicateFormatFlagsException |
Unchecked exception thrown when duplicate flags are provided in the format specifier. |
| EmptyStackException |
Thrown by methods in the |
| FormatFlagsConversionMismatchException |
Unchecked exception thrown when a conversion and flag are incompatible. |
| FormatterClosedException |
Unchecked exception thrown when the formatter has been closed. |
| IllegalFormatCodePointException |
Unchecked exception thrown when a character with an invalid Unicode code point as defined by |
| IllegalFormatConversionException |
Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type. |
| IllegalFormatException |
Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments. |
| IllegalFormatFlagsException |
Unchecked exception thrown when an illegal combination flags is given. |
| IllegalFormatPrecisionException |
Unchecked exception thrown when the precision is a negative value other than |
| IllegalFormatWidthException |
Unchecked exception thrown when the format width is a negative value other than |
| IllformedLocaleException |
Thrown by methods in |
| InputMismatchException |
Thrown by a |
| InvalidPropertiesFormatException |
Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per the |
| MissingFormatArgumentException |
Unchecked exception thrown when there is a format specifier which does not have a corresponding argument or if an argument index refers to an argument that does not exist. |
| MissingFormatWidthException |
Unchecked exception thrown when the format width is required. |
| MissingResourceException |
Signals that a resource is missing. |
| NoSuchElementException |
Thrown by various accessor methods to indicate that the element being requested does not exist. |
| ServiceConfigurationError |
Error thrown when something goes wrong while locating, loading, or instantiating a service provider. |
| TooManyListenersException |
The |
| UnknownFormatConversionException |
Unchecked exception thrown when an unknown conversion is given. |
| UnknownFormatFlagsException |
Unchecked exception thrown when an unknown flag is given. |