Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. and Motorola, Inc. All rights reserved.

MID Profile

Package java.util

Contains the collection classes, and the date and time facilities.

See:
          Description

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 base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, 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.

Since:
MIDP 1.0

MID Profile

Copyright © 2006 Sun Microsystems, Inc. and Motorola, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 118 specification.