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
![Page 1: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/1.jpg)
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
![Page 2: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/2.jpg)
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
![Page 3: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/3.jpg)
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
![Page 4: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/4.jpg)
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
![Page 5: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/5.jpg)
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
![Page 6: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/6.jpg)
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
![Page 7: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/7.jpg)
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
![Page 8: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/8.jpg)
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
![Page 9: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/9.jpg)
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
![Page 10: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/10.jpg)
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( )
![Page 11: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/11.jpg)
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
![Page 12: A Review of the java.util Package Presented By AMIT RANJAN TRIPATHY Roll # CS 200118157](https://reader035.fdocuments.in/reader035/viewer/2022081603/56813d2f550346895da6f47f/html5/thumbnails/12.jpg)
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!!!