Java Util Package - Utility Package of Java

This secton provides the components of java util package.


 

Ads

Tutorials   
How to read properties file in Java? Generate random numbers in Java Cloneable Interface in Java What is the flaw with the Stack class? List In Java Java Stack Example HashSet In Java Enumeration in java How to generate random number in java Iterator in java Queue in java Transient Java Keyword clone method in Java Java Queue example Logger in Java Java current date - How to get current date in Java Collection : LinkedList Example Collection : ArrayList Example Random alpha numeric string of fixed size Java List Iterator Example The Hashtable Class The BitSet class Java Vector Java Enumeration Data Structures in Java Java Transient Variable Java Date Format Example Java Properties File Example Map.Entry Java Interface Java Property File java preferences,Change the value of Preferences by user Retrieving a Preference Node Java hasNext Write Keys and Values to the Properties file in Java Get All Keys and Values of the Properties files in Java Properties file in Java Properties file in Java Determining If a Preference Node Contains a Specific Value Change the value of Preferences by user Clone method example in Java Implementing a Simple Event Notifier Determining When a Preference Node Is Added or Removed Listening for Changes to Preference Values in a Preference Node Importing Preferences Finding a Preference in a Preference Tree Retrieving the Parent and Child Nodes of a Preference Node Determining If a Preference Node Exists Removing a Preference Node Creating a Preference Node Getting the Maximum Size of a Preference Key and Value
Ads

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.

Advertisements

Ads
Share on Google+Share on Google+

Java Util Package - Utility Package of Java

Posted on: April 16, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

 

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

Ads

 

Ads