MIDP 2.0

Package java.util

MID Profile Utility Classes included from Java 2 Standard Edition.


Interface Summary
Enumeration An object that implements the Enumeration interface generates a series of elements, one at a time.

Class Summary
Calendar Calendar is an abstract class for getting and setting dates using a set of integer fields such as YEAR, MONTH, DAY, and so on.
Date The class Date represents a specific instant in time, with millisecond precision.
Hashtable This class implements a hashtable, which maps keys to values.
Random An instance of this class is used to generate a stream of pseudorandom numbers.
Stack The Stack class represents a last-in-first-out (LIFO) stack of objects.
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 Timer.
TimeZone TimeZone represents a time zone offset, and also figures out daylight savings.
Vector The Vector class implements a growable array of objects.

Exception Summary
EmptyStackException Thrown by methods in the Stack class to indicate that the stack is empty.
NoSuchElementException Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.

Package java.util Description

MID Profile Utility Classes included from Java 2 Standard Edition. In addition to the java.util classes specified in the Connected Limited Device Configuration the Mobile Information Device Profile includes the following classes from Java 2 Standard Edition.

Timers provide facility for an application to schedule task for future execution in a background thread. TimerTasks may be scheduled using Timers for one-time execution, or for repeated execution at regular intervals.

MIDP 1.0

MIDP 2.0

Send a comment or suggestion Version 2.0 of Mobile Information Device Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2002 Sun Microsystems, Inc. and Motorola, Inc. All Rights Reserved. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.