a review of the java.util package
DESCRIPTION
TRANSCRIPT
Amit Ranjan Tripathy
A Review of the java.util Package
[1]
Amit Ranjan Tripathy
The ad hoc approach lacked an unifying theme
The Collections framework
Collections Maps
[2]
Introduction
Amit Ranjan Tripathy[3]
The Collection Interface
Amit Ranjan Tripathy
The Collection Classes
[4]
Amit Ranjan Tripathy
The Map Interface
[5]
Amit Ranjan Tripathy
The Map Classes
[6]
Amit Ranjan Tripathy[7]
• Reengineered to support Collections
• Synchronized : The only Advantage
• Enumeration
Calcified as obsolete
Superceded by Iterator
Amit Ranjan Tripathy
The Legacy Classes
[8]
Amit Ranjan Tripathy
Working of Hash Tables
[9]
Amit Ranjan Tripathy
Other Utility Classes
[10]
• StringTokenizer : Lexical analysis made easy
• BitSet
• Date
• Random
• Observable
Update( )
notifyObservers( )
Amit Ranjan Tripathy
Conclusion
[11]
• The Collections framework
Unified theme for “data engines”
Reengineering of the base classes
Maps introduced
• Broad domain of applications
Amit Ranjan Tripathy
Thank You!!!
[12]