Você está na página 1de 12

A Review of the java.

util Package
National Institute of Science & Technology

A Review of the java.util Package

Presented By
AMIT RANJAN TRIPATHY Roll # CS 200118157

Under the guidance of


Dr. Ravi P. Reddy

Amit Ranjan Tripathy [1]


A Review of the java.util Package
Introduction
National Institute of Science & Technology

• The ad hoc approach


lacked an unifying theme

• The Collections framework


Collections
Maps

Amit Ranjan Tripathy [2]


A Review of the java.util Package
The Collection Interface
National Institute of Science & Technology

Amit Ranjan Tripathy [3]


A Review of the java.util Package
The Collection Classes
National Institute of Science & Technology

Amit Ranjan Tripathy [4]


A Review of the java.util Package
The Map Interface
National Institute of Science & Technology

Amit Ranjan Tripathy [5]


A Review of the java.util Package
The Map Classes
National Institute of Science & Technology

Amit Ranjan Tripathy [6]


A Review of the java.util Package
Legacy Classes And Interfaces
National Institute of Science & Technology

• Reengineered to support Collections

• Synchronized : The only Advantage

• Enumeration

 Calcified as obsolete

 Superceded by Iterator

Amit Ranjan Tripathy [7]


A Review of the java.util Package
The Legacy Classes
National Institute of Science & Technology

Amit Ranjan Tripathy [8]


A Review of the java.util Package
Working of Hash Tables
National Institute of Science & Technology

Amit Ranjan Tripathy [9]


A Review of the java.util Package
Other Utility Classes
National Institute of Science & Technology

• StringTokenizer : Lexical analysis made easy


• BitSet
• Date
• Random
• Observable
Update( )
notifyObservers( )

Amit Ranjan Tripathy [10]


A Review of the java.util Package
Conclusion
National Institute of Science & Technology

• The Collections framework


 Unified theme for “data engines”
 Reengineering of the base classes
 Maps introduced

• Broad domain of applications

Amit Ranjan Tripathy [11]


A Review of the java.util Package
National Institute of Science & Technology

Thank You!!!

Amit Ranjan Tripathy [12]

Você também pode gostar