Thursday 14 March 2013

Package java.util


Package
java.util

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


Interfaces
Enumeration An object that implements the Enumeration interface generates a series of elements,
one at a time.
Classes
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.
TimeZone TimeZone represents a time zone offset, and also figures out daylight savings.
Vector The Vector class implements a growable array of objects.
Exceptions
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.


No comments:

Post a Comment