java.util |
Contains the collection classes, and the date and time facilities.
@since CLDC 1.0
|
Java Source File Name | Type | Comment |
AbstractCollection.java | Class | This class provides a skeletal implementation of the Collection
interface, to minimize the effort required to implement this interface. |
AbstractList.java | Class | This class provides a skeletal implementation of the List
interface to minimize the effort required to implement this interface
backed by a "random access" data store (such as an array). |
AbstractMap.java | Class | This class provides a skeletal implementation of the Map
interface, to minimize the effort required to implement this interface. |
AbstractSequentialList.java | Class | This class provides a skeletal implementation of the List
interface to minimize the effort required to implement this interface
backed by a "sequential access" data store (such as a linked list). |
AbstractSet.java | Class | This class provides a skeletal implementation of the Set
interface to minimize the effort required to implement this
interface. |
ArrayList.java | Class | Resizable-array implementation of the List interface. |
Arrays.java | Class | This class contains various methods for manipulating arrays (such as
sorting and searching). |
BitSet.java | Class | This class implements a vector of bits that grows as needed. |
Calendar.java | Class | 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. |
Collection.java | Interface | The root interface in the collection hierarchy. |
Collections.java | Class | This class consists exclusively of static methods that operate on or return
collections. |
Comparator.java | Interface | A comparison function, which imposes a total ordering on some
collection of objects. |
ConcurrentModificationException.java | Class | This exception may be thrown by methods that have detected concurrent
modification of an object when such modification is not permissible.
For example, it is not generally permssible for one thread to modify a Collection
while another thread is iterating over it. |
Currency.java | Class | Represents a currency. |
Date.java | Class | The class Date represents a specific instant in time, with millisecond
precision.
This class has been subset for the J2ME based on the JDK 1.3 Date class.
Many methods and variables have been pruned, and other methods
simplified, in an effort to reduce the size of this class.
Although the Date class is intended to reflect coordinated universal
time (UTC), it may not do so exactly, depending on the host environment
of the Java Virtual Machine. |
Dictionary.java | Class | The Dictionary class is the abstract parent of any
class, such as Hashtable , which maps keys to values. |
EmptyStackException.java | Class | Thrown by methods in the Stack class to indicate
that the stack is empty. |
Enumeration.java | Interface | An object that implements the Enumeration interface generates a
series of elements, one at a time. |
EventListener.java | Interface | A tagging interface that all event listener interfaces must extend. |
EventListenerProxy.java | Class | An abstract wrapper class for an EventListener class which associates a set
of additional parameters with the listener. |
EventObject.java | Class |
The root class from which all event state objects shall be derived. |
GregorianCalendar.java | Class | GregorianCalendar is a concrete subclass of
Calendar and provides the standard calendar used by most of the world.
The standard (Gregorian) calendar has 2 eras, BC and AD.
This implementation handles a single discontinuity, which corresponds by
default to the date the Gregorian calendar was instituted (October 15, 1582
in some countries, later in others). |
HashMap.java | Class | Hash table based implementation of the Map interface. |
HashSet.java | Class | This class implements the Set interface, backed by a hash table
(actually a HashMap instance). |
Hashtable.java | Class | This class implements a hashtable, which maps keys to values. |
IdentityHashMap.java | Class | This class implements the Map interface with a hash table, using
reference-equality in place of object-equality when comparing keys (and
values). |
Iterator.java | Interface | An iterator over a collection. |
LinkedHashMap.java | Class | Hash table and linked list implementation of the Map interface,
with predictable iteration order. |
LinkedHashSet.java | Class | Hash table and linked list implementation of the Set interface,
with predictable iteration order. |
LinkedList.java | Class | Linked list implementation of the List interface. |
List.java | Interface | An ordered collection (also known as a sequence). |
ListIterator.java | Interface | 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. |
ListResourceBundle.java | Class | ListResourceBundle is an abstract subclass of
ResourceBundle that manages resources for a locale
in a convenient and easy to use list. |
Locale.java | Class | A Locale object represents a specific geographical, political,
or cultural region. |
Map.java | Interface | An object that maps keys to values. |
MissingResourceException.java | Class | Signals that a resource is missing. |
NoSuchElementException.java | Class | Thrown by the nextElement method of an
Enumeration to indicate that there are no more
elements in the enumeration. |
Observable.java | Class | This class represents an observable object, or "data"
in the model-view paradigm. |
Observer.java | Interface | A class can implement the Observer interface when it
wants to be informed of changes in observable objects. |
Properties.java | Class | The Properties class represents a persistent set of
properties. |
PropertyPermission.java | Class | This class is for property permissions.
The name is the name of the property ("java.home",
"os.name", etc). |
PropertyResourceBundle.java | Class | PropertyResourceBundle is a concrete subclass of
ResourceBundle that manages resources for a locale
using a set of static strings from a property file. |
Random.java | Class | An instance of this class is used to generate a stream of
pseudorandom numbers. |
RandomAccess.java | Interface | Marker interface used by List implementations to indicate that
they support fast (generally constant time) random access. |
ResourceBundle.java | Class | Resource bundles contain locale-specific objects.
When your program needs a locale-specific resource,
a String for example, your program can load it
from the resource bundle that is appropriate for the
current user's locale. |
ResourceBundleEnumeration.java | Class | Implements an Enumeration that combines elements from a Set and
an Enumeration. |
Set.java | Interface | A collection that contains no duplicate elements. |
SimpleTimeZone.java | Class | SimpleTimeZone is a concrete subclass of TimeZone
that represents a time zone for use with a Gregorian calendar.
The class holds an offset from GMT, called raw offset, and start
and end rules for a daylight saving time schedule. |
SortedMap.java | Interface | A map that further guarantees that it will be in ascending key order,
sorted according to the natural ordering of its keys (see the
Comparable interface), or by a comparator provided at sorted map
creation time. |
SortedSet.java | Interface | A set that further guarantees that its iterator will traverse the set in
ascending element order, sorted according to the natural ordering of
its elements (see Comparable), or by a Comparator provided at sorted set
creation time. |
Stack.java | Class | The Stack class represents a last-in-first-out
(LIFO) stack of objects. |
StringTokenizer.java | Class | The string tokenizer class allows an application to break a
string into tokens. |
Timer.java | Class | A facility for threads to schedule tasks for future execution in a
background thread. |
TimerTask.java | Class | A task that can be scheduled for one-time or repeated execution by a
Timer . |
TimeZone.java | Class | TimeZone represents a time zone offset, and also figures
out daylight savings.
Typically, you get a TimeZone using getDefault
which creates a TimeZone based on the time zone where the program
is running. |
TooManyListenersException.java | Class |
The TooManyListenersException Exception is used as part of
the Java Event model to annotate and implement a unicast special case of
a multicast Event Source.
The presence of a "throws TooManyListenersException" clause on any given
concrete implementation of the normally multicast "void addXyzEventListener"
event listener registration pattern is used to annotate that interface as
implementing a unicast Listener special case, that is, that one and only
one Listener may be registered on the particular event listener source
concurrently.
See Also: java.util.EventObject See Also: java.util.EventListener version: 1.10 00/02/02 author: Laurence P. |
TreeMap.java | Class | Red-Black tree based implementation of the SortedMap interface.
This class guarantees that the map will be in ascending key order, sorted
according to the natural order for the key's class (see
Comparable), or by the comparator provided at creation time,
depending on which constructor is used.
This implementation provides guaranteed log(n) time cost for the
containsKey, get, put and remove
operations. |
TreeSet.java | Class | This class implements the Set interface, backed by a
TreeMap instance. |
Vector.java | Class | The Vector class implements a growable array of
objects. |
WeakHashMap.java | Class | A hashtable-based Map implementation with weak keys.
An entry in a WeakHashMap will automatically be removed when
its key is no longer in ordinary use. |