Transcript
Page 1: 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

Page 2: 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 [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

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

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

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

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

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

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

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

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

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

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!!!


Top Related