Java Reference
In-Depth Information
The java.util Package
This package contains date and time facilities and miscellaneous utility classes.
Interface
The
Enumeration
interface provides methods for accessing a series of elements in a class
implementing this interface.
Classes
Calendar
The
Calendar
class is an abstract class for setting and getting dates using a
set of integer fields.
Date
The
Date
class represents a specific point of time in millisecond precision.
Hashtable
The
Hashtable
class implements a hashtable in order to map keys to values.
Random
The
Random
class implements a stream of pseudorandom numbers.
Stack
The
Stack
class implements a last-in-first-out (LIFO) stack of objects.
Timer
The
Timer
class is an MIDP extension to CLDC and is available only in MIDP-
conforming Java Virtual Machines. The class provides a mechanism for threads
to schedule tasks for future executions in a background thread.
TimerTask
The
TimerTask
class is an MIDP extension to CLDC and is available only in
MIDP-conforming Java Virtual Machines. A
Timer
can schedule a
TimerTask
for an one-time or a repeated execution.
TimeZone
The
TimeZone
class represents a time zone offset, and also calculates daylight
savings time changes.
Vector
The
Vector
class implements a mutable array of objects.
Exceptions
EmptyStackException
The
EmptyStackException
is thrown by the methods of the
S
tack
class to indicate that the stack is empty.
NoSuchElementException
The
NoSuchElementException
is thrown by the
nextElement()
method of an
Enumeration
to indicate that
t
here are no more elements in the enumeration.
Search WWH ::
Custom Search