Android Guides | Samples

Java.Util Namespace

Remarks

 

Classes

TypeReason
AbstractCollectionClass 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.
AbstractMapA base class for Map implementations.
AbstractMap+SimpleEntryA key-value mapping with mutable values.
AbstractMap+SimpleImmutableEntryAn immutable key-value mapping.
AbstractQueueThis class provides skeletal implementations of some IQueue operations.
AbstractSequentialListAbstractSequentialList is an abstract implementation of the List interface.
AbstractSetAn AbstractSet is an abstract implementation of the Set interface.
ArrayDequeResizable-array implementation of the IDeque interface.
ArrayListArrayList is an implementation of IList, backed by an array.
Arrays Arrays contains static methods which operate on arrays.
BitSetThe 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.
CalendarFieldEnumerates values returned by several types and taken as a parameter of several types.
CalendarStyleEnumerates values returned by several types.
Collections Collections contains static methods which operate on Collection classes.
ConcurrentModificationExceptionAn ConcurrentModificationException is thrown when a Collection is modified and an existing iterator on the Collection is used to modify the Collection as well.
CurrencyA currency corresponding to an currency code such as "EUR" or "USD".
DateA 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.
DuplicateFormatFlagsExceptionThe unchecked exception will be thrown out if there are duplicate flags given out in the format specifier.
EmptyStackExceptionAn EmptyStackException is thrown if the pop/peek method of a stack is executed on an empty stack.
EnumMapAn Map specialized for use with Enum types as keys.
EnumSetAn EnumSet is a specialized Set to be used with enums as keys.
EventListenerProxyThis abstract class provides a simple wrapper for objects of type EventListener.
EventObject EventObjects represent events.
FormatFlagsEnumerates values returned by several types and taken as a parameter of the IFormattable.FormatTo member.
FormatFlagsConversionMismatchExceptionA FormatFlagsConversionMismatchException will be thrown if a conversion and the flags are incompatible.
FormattableFlagsFormattableFlags are used as a parameter to IFormattable.FormatTo(Formatter,FormatFlags,FormatFlags,FormatFlags) and change the output format in Formattables.
FormatterFormats arguments according to a format string (like printf in C).
Formatter+BigDecimalLayoutFormThe enumeration giving the available styles for formatting very large decimal numbers.
FormatterClosedExceptionA 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.
HashMapHashMap is an implementation of IMap.
HashSetHashSet is an implementation of a Set.
HashtableHashtable is a synchronized implementation of IMap.
ICollection Collection is the root of the collection hierarchy.
IComparatorA Comparator is used to compare two objects to determine their ordering with respect to each other.
IdentityHashMapIdentityHashMap is a variant on HashMap which tests equality by reference instead of equality by value.
IDequeA linear collection that supports element insertion and removal at both ends.
IEnumerationA legacy iteration interface.
IEventListenerEventListener is the superclass of all event listener interfaces.
IFormattableClasses that handle custom formatting for the 's' specifier of Formatter should implement the Formattable interface.
IIteratorAn iterator over a sequence of objects, such as a collection.
IListA List is a collection which maintains an ordering for its elements.
IListIteratorAn ListIterator is used to sequence over a List of objects.
IllegalFormatCodePointExceptionAn IllegalFormatCodePointException will be thrown if an invalid Unicode code point (defined by Character.IsValidCodePoint(Int32)) is passed as a parameter to a Formatter.
IllegalFormatConversionExceptionAn IllegalFormatConversionException will be thrown when the parameter is incompatible with the corresponding format specifier.
IllegalFormatExceptionAn IllegalFormatException is thrown when a format string that contains either an illegal syntax or format specifier is transferred as a parameter.
IllegalFormatFlagsExceptionAn IllegalFormatFlagsException will be thrown if the combination of the format flags is illegal.
IllegalFormatPrecisionExceptionAn IllegalFormatPrecisionException will be thrown if the precision is a negative other than -1 or in other cases where precision is not supported.
IllegalFormatWidthExceptionAn IllegalFormatWidthException will be thrown if the width is a negative value other than -1 or in other cases where a width is not supported.
IllformedLocaleExceptionThrown when a locale subtag or field is not well formed.
IMapA 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.
INavigableMapA ISortedMap extended with navigation methods returning the closest matches for given search targets.
INavigableSetA ISortedSet extended with navigation methods reporting closest matches for given search targets.
InputMismatchExceptionAn 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.
InvalidPropertiesFormatExceptionAn InvalidPropertiesFormatException is thrown if loading the XML document defining the properties does not follow the Properties specification.
IObserver Observer is the interface to be implemented by objects that receive notification of updates on an Observable object.
IQueueA collection designed for holding elements prior to processing.
IRandomAccessRandomAccess is implemented by List implementations that support fast (usually constant time) random access.
ISetA Set is a data structure which does not allow duplicate elements.
ISortedMapA map that has its keys ordered.
ISortedSetSortedSet is a Set which iterates over its elements in a sorted order.
LinkedHashMapLinkedHashMap is an implementation of IMap that guarantees iteration order.
LinkedHashSetLinkedHashSet is a variant of HashSet.
LinkedListLinkedList 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
MissingFormatArgumentExceptionA MissingFormatArgumentException will be thrown if there is no corresponding argument with the specified conversion or an argument index that refers to a missing argument.
MissingFormatWidthExceptionA MissingFormatWidthException will be thrown if the format width is missing but is required.
MissingResourceExceptionA MissingResourceException is thrown by ResourceBundle when a resource bundle cannot be found or a resource is missing from a resource bundle.
NoSuchElementExceptionThrown when trying to retrieve an element past the end of an Enumeration or Iterator.
ObjectsUtility methods for objects.
ObservableObservable is used to notify a group of Observer objects when a change occurs.
PriorityQueueA 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.
PropertiesA Properties object is a Hashtable where the keys and values must be Strings.
PropertyPermissionLegacy security code; do not use.
PropertyResourceBundle PropertyResourceBundle loads resources from an InputStream.
RandomThis 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+ControlResourceBundle.
ScannerA parser that parses a text string of primitive types and strings with the help of regular expressions.
ServiceConfigurationErrorThrown when a service provider can't be loaded by ServiceLoader.
ServiceLoaderA service-provider loader.
SimpleTimeZone SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gregorian calendar.
Stack Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects.
StringTokenizerBreaks a string into tokens; new code should probably use String.Split(String).
TimerTimers schedule one-shot or recurring TimerTask for execution.
TimerTaskThe 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.
TimeZoneKindEnumerates values returned by several types.
TimeZoneStyleEnumerates values returned by several types and taken as a parameter of the TimeZone.GetDisplayName, and TimeZone.GetDisplayName members.
TooManyListenersExceptionA TooManyListenersException is thrown when an attempt is made to add more than one listener to an event source which only supports a single listener.
TreeMapA map whose entries are sorted by their keys.
TreeSetTreeSet is an implementation of SortedSet.
UnknownFormatConversionExceptionAn UnknownFormatConversionException will be thrown if the format conversion is unknown.
UnknownFormatFlagsExceptionAn UnknownFormatFlagsException will be thrown if there is an unknown flag.
UUIDUUID is an immutable representation of a 128-bit universally unique identifier (UUID).
VectorVector is an implementation of IList, backed by an array and synchronized.
WeakHashMapWeakHashMap is an implementation of Map with keys which are WeakReferences.