Java.Util Namespace

Classes

AbstractCollection

Class AbstractCollection is an abstract implementation of the Collection interface.

AbstractList

AbstractList is an abstract implementation of the List interface, optimized for a backing store which supports random access.

AbstractMap

A base class for Map implementations.

AbstractMap.SimpleEntry

A key-value mapping with mutable values.

AbstractMap.SimpleImmutableEntry

An immutable key-value mapping.

AbstractQueue

This class provides skeletal implementations of some IQueue operations.

AbstractSequentialList

AbstractSequentialList is an abstract implementation of the List interface.

AbstractSet

An AbstractSet is an abstract implementation of the Set interface.

ArrayDeque

Resizable-array implementation of the IDeque interface.

ArrayList

ArrayList is an implementation of IList, backed by an array.

Arrays

Arrays contains static methods which operate on arrays.

Base64
Base64.Decoder
Base64.Encoder
BitSet

The BitSet class implements a .

Calendar

Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.

Calendar.Builder
Collections

Collections contains static methods which operate on Collection classes.

Comparator
ComparatorConsts
ConcurrentModificationException

An ConcurrentModificationException is thrown when a Collection is modified and an existing iterator on the Collection is used to modify the Collection as well.

Currency

A currency corresponding to an currency code such as "EUR" or "USD".

Date

A specific moment in time, with millisecond precision.

Dictionary

Note: Do not use this class since it is obsolete. Please use the IMap interface for new implementations.

DoubleSummaryStatistics
DuplicateFormatFlagsException

The unchecked exception will be thrown out if there are duplicate flags given out in the format specifier.

EmptyStackException

An EmptyStackException is thrown if the pop/peek method of a stack is executed on an empty stack.

EnumMap

An Map specialized for use with Enum types as keys.

EnumSet

An EnumSet is a specialized Set to be used with enums as keys.

EventListenerProxy

This abstract class provides a simple wrapper for objects of type EventListener.

EventObject

EventObjects represent events.

FormatFlagsConversionMismatchException

A FormatFlagsConversionMismatchException will be thrown if a conversion and the flags are incompatible.

FormattableFlags
Formatter

Formats arguments according to a format string (like printf in C).

Formatter.BigDecimalLayoutForm

The enumeration giving the available styles for formatting very large decimal numbers.

FormatterClosedException

A FormatterClosedException will be thrown if the formatter has been closed.

GregorianCalendar

GregorianCalendar is a concrete subclass of Calendar and provides the standard calendar used by most of the world.

HashMap

HashMap is an implementation of IMap.

HashSet

HashSet is an implementation of a Set.

Hashtable

Hashtable is a synchronized implementation of IMap.

IdentityHashMap

IdentityHashMap is a variant on HashMap which tests equality by reference instead of equality by value.

IllegalFormatCodePointException

An IllegalFormatCodePointException will be thrown if an invalid Unicode code point (defined by IsValidCodePoint(Int32)) is passed as a parameter to a Formatter.

IllegalFormatConversionException

An IllegalFormatConversionException will be thrown when the parameter is incompatible with the corresponding format specifier.

IllegalFormatException

An IllegalFormatException is thrown when a format string that contains either an illegal syntax or format specifier is transferred as a parameter.

IllegalFormatFlagsException

An IllegalFormatFlagsException will be thrown if the combination of the format flags is illegal.

IllegalFormatPrecisionException

An IllegalFormatPrecisionException will be thrown if the precision is a negative other than -1 or in other cases where precision is not supported.

IllegalFormatWidthException

An IllegalFormatWidthException will be thrown if the width is a negative value other than -1 or in other cases where a width is not supported.

IllformedLocaleException

Thrown when a locale subtag or field is not well formed.

InputMismatchException

An InputMismatchException is thrown by a scanner to indicate that the next token does not match or is out of range for the type specified in the pattern.

IntSummaryStatistics
InvalidPropertiesFormatException

An InvalidPropertiesFormatException is thrown if loading the XML document defining the properties does not follow the Properties specification.

LinkedHashMap

LinkedHashMap is an implementation of IMap that guarantees iteration order.

LinkedHashSet

LinkedHashSet is a variant of HashSet.

LinkedList

LinkedList is an implementation of IList, backed by a doubly-linked list.

ListResourceBundle

ListResourceBundle is the abstract superclass of classes which provide resources by implementing the getContents() method to return the list of resources.

Locale

Locale represents a language/country/variant combination.

Locale.Builder
Locale.Category
Locale.FilteringMode
Locale.LanguageRange
LongSummaryStatistics
MapEntry
MapEntryConsts
MissingFormatArgumentException

A MissingFormatArgumentException will be thrown if there is no corresponding argument with the specified conversion or an argument index that refers to a missing argument.

MissingFormatWidthException

A MissingFormatWidthException will be thrown if the format width is missing but is required.

MissingResourceException

A MissingResourceException is thrown by ResourceBundle when a resource bundle cannot be found or a resource is missing from a resource bundle.

NoSuchElementException

Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.

Objects

Utility methods for objects.

Observable

Observable is used to notify a group of Observer objects when a change occurs.

Optional
OptionalDouble
OptionalInt
OptionalLong
PriorityQueue

A PriorityQueue holds elements on a priority heap, which orders the elements according to their natural order or according to the comparator specified at construction time.

Properties

A Properties object is a Hashtable where the keys and values must be Strings.

PropertyPermission

Legacy security code; do not use.

PropertyResourceBundle

PropertyResourceBundle loads resources from an InputStream.

Random

This class provides methods that return pseudo-random values.

ResourceBundle

ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specific resources.

ResourceBundle.Control

ResourceBundle.

Scanner

A parser that parses a text string of primitive types and strings with the help of regular expressions.

ServiceConfigurationError

Thrown when a service provider can't be loaded by ServiceLoader.

ServiceLoader

A service-provider loader.

SimpleTimeZone

SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gregorian calendar.

Spliterator
SpliteratorConsts
Spliterators
Spliterators.AbstractDoubleSpliterator
Spliterators.AbstractIntSpliterator
Spliterators.AbstractLongSpliterator
Spliterators.AbstractSpliterator
Spliterators.AbstractSpliterator.InterfaceConsts
SplittableRandom
Stack

Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects.

StringJoiner
StringTokenizer

Breaks a string into tokens; new code should probably use Split(String).

Timer

Timers schedule one-shot or recurring TimerTask for execution.

TimerTask

The TimerTask class represents a task to run at a specified time.

TimeZone

TimeZone represents a time zone, primarily used for configuring a Calendar or SimpleDateFormat instance.

TooManyListenersException

A TooManyListenersException is thrown when an attempt is made to add more than one listener to an event source which only supports a single listener.

TreeMap

A map whose entries are sorted by their keys.

TreeSet

TreeSet is an implementation of SortedSet.

UnknownFormatConversionException

An UnknownFormatConversionException will be thrown if the format conversion is unknown.

UnknownFormatFlagsException

An UnknownFormatFlagsException will be thrown if there is an unknown flag.

UUID

UUID is an immutable representation of a 128-bit universally unique identifier (UUID).

Vector

Vector is an implementation of IList, backed by an array and synchronized.

WeakHashMap

WeakHashMap is an implementation of Map with keys which are WeakReferences.

Interfaces

ICollection

Collection is the root of the collection hierarchy.

IComparator

A Comparator is used to compare two objects to determine their ordering with respect to each other.

IDeque

A linear collection that supports element insertion and removal at both ends.

IEnumeration

A legacy iteration interface.

IEventListener

EventListener is the superclass of all event listener interfaces.

IFormattable

Classes that handle custom formatting for the 's' specifier of Formatter should implement the Formattable interface.

IIterator

An iterator over a sequence of objects, such as a collection.

IList

A List is a collection which maintains an ordering for its elements.

IListIterator

An ListIterator is used to sequence over a List of objects.

IMap

A Map is a data structure consisting of a set of keys and values in which each key is mapped to a single value.

IMapEntry

Map.Entry is a key/value mapping contained in a Map.

INavigableMap

A ISortedMap extended with navigation methods returning the closest matches for given search targets.

INavigableSet

A ISortedSet extended with navigation methods reporting closest matches for given search targets.

IObserver

Observer is the interface to be implemented by objects that receive notification of updates on an Observable object.

IPrimitiveIterator
IPrimitiveIteratorOfDouble
IPrimitiveIteratorOfInt
IPrimitiveIteratorOfLong
IQueue

A collection designed for holding elements prior to processing.

IRandomAccess

RandomAccess is implemented by List implementations that support fast (usually constant time) random access.

ISet

A Set is a data structure which does not allow duplicate elements.

ISortedMap

A map that has its keys ordered.

ISortedSet

SortedSet is a Set which iterates over its elements in a sorted order.

ISpliterator

Enums

CalendarField

Enumerates values returned by several types and taken as a parameter of several types.

CalendarStyle

Enumerates values returned by several types.

FormatFlags

F:Java.Util.IFormattable.FormatTo

SpliteratorCharacteristics
TimeZoneKind

Enumerates values returned by several types.

TimeZoneStyle

Enumerates values returned by several types and taken as a parameter of the F:Java.Util.TimeZone.GetDisplayName, and F:Java.Util.TimeZone.GetDisplayName members.