0% found this document useful (0 votes)
16 views

Collections Framework in Java: Raja Himanath Reddy Software Engineer HCL Technologies

The document discusses the Java Collections Framework which provides interfaces and classes for storing and manipulating collections of objects. It outlines the key interfaces including List, Set, and Map. The Collections Framework hierarchy is explained showing how Collection is the main interface extended by List and Set but Map does not extend Collection. Different collection types like List-based, Set-based and Map-based are also summarized.

Uploaded by

Javed Khan
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Collections Framework in Java: Raja Himanath Reddy Software Engineer HCL Technologies

The document discusses the Java Collections Framework which provides interfaces and classes for storing and manipulating collections of objects. It outlines the key interfaces including List, Set, and Map. The Collections Framework hierarchy is explained showing how Collection is the main interface extended by List and Set but Map does not extend Collection. Different collection types like List-based, Set-based and Map-based are also summarized.

Uploaded by

Javed Khan
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Collections Framework

in Java

Raja Himanath Reddy


Software Engineer
HCL Technologies
Concepts

 The mathematical meaning of set, map, and collection


 The six key interfaces of the Collections Framework
Objectives

 Make appropriate selection of collection classes/interfaces to


suit specified behavior requirements.
 Distinguish between correct and incorrect implementations of
hashCode() (and equals()) methods
COLLECTIONS HIERARCHY

Notice That Map interface is not extending Collection Interface


Three overloaded uses of the word
"collection":
 collection (lowercase c), which represents any of the data
structures in which objects are stored and iterated over.
 Collection (capital C), which is actually the
java.util.Collection interface from which Set, List, and Queue
extend
 Collections (capital C and ends with s) is the
java.util.Collections class that holds a pile of static utility
methods for use with collections
List Based Collection
Set based Collection
Map Based Collection

You might also like