A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157
description
Transcript of A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [1]
A Review of the java.util Package
Presented ByAMIT RANJAN TRIPATHY Roll # CS 200118157
Under the guidance of
Dr. Ravi P. Reddy By www.PPTSWorld.com
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [2]
• The ad hoc approach lacked an unifying theme
• The Collections frameworkCollectionsMaps
Introduction
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [3]
The Collection Interface
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [4]
The Collection Classes
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [5]
The Map Interface
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [6]
The Map Classes
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [7]
Legacy Classes And Interfaces
• Reengineered to support Collections
• Synchronized : The only Advantage
• Enumeration
Calcified as obsolete
Superceded by Iterator
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [8]
The Legacy Classes
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [9]
Working of Hash Tables
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [10]
Other Utility Classes• StringTokenizer : Lexical analysis made easy
• BitSet
• Date
• Random
• Observable
Update( )
notifyObservers( )
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [11]
Conclusion
• The Collections framework
Unified theme for “data engines”
Reengineering of the base classes
Maps introduced
• Broad domain of applications
Nati
onal In
stit
ute
of
Sci
en
ce &
Tech
nolo
gy
A Review of the java.util Package
Amit Ranjan Tripathy [12]
Thank You!!!