Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Java Example Java Util Java Util Package - Utility Package of Java

Related Tutorials


 
 

Share on Google+Share on Google+

Java Util Package - Utility Package of Java

Advertisement
This secton provides the components of java util package.

Java Util Package - Utility Package of Java

     

Java Utility package is one of the most commonly used packages in the java program. The Utility Package of Java consist of the following components:

  • collections framework
      
  • legacy collection classes
      
  • event model
      
  • date and time facilities
      
  • internationalization
      
  • miscellaneous utility classes such as string tokenizer, random-number generator and bit array
      

Here are some of the description of the utility classes of this package:

Data Structure Classes  
Data Structure Classes are very useful classes for implementing standard computer science data structures: including BitSet, Dictionary, Hashtable, Stack and Vector. The Enumeration interface of java.util package is used to count through a set of values.

FOR COMPLETE TUTORIAL ON DATA STRUCTURE OF java.util PACKAGE CLICK HERE  

Date  
The Date class is used to manipulate calendar dates in a system-independent fashion. 

StringTokenizer  
This StringTokenizer class is used to convert a String of text into its tokens. 

Properties  
The properties table contains key/value pairs where both the key and the value are Strings and the class is used by the System class to implement System properties. 

Observer and Observable  
Classes that implement the Observer interface can "watch" Observable objects for state changes. When an Observable object changes it notifies all of its Observers of the change. 

Random-Number Generator  
The Random Number Generator class is used to generate the random-numbers. 

Enumeration  
The Enumeration interface defines a generic programming interface for iterating through a set of values.

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 16, 2007

Related Tutorials

Discuss: Java Util Package - Utility Package of Java   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:1
Santhosh kumar
July 26, 2012
java

how to learn simple way
DMCA.com