0% found this document useful (0 votes)
33 views1 page

Prior To Java 2

Prior to Java 2, Java provided classes like Dictionary, Vector, Stack, and Properties to store and manipulate objects, but they lacked cohesion. The Java collections framework was designed to provide a unified, high-performance approach through fundamental collection types like lists, trees, and hash tables. It also aimed to allow different collection types to work similarly and be easily extended or adapted.

Uploaded by

Amutha Arun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

Prior To Java 2

Prior to Java 2, Java provided classes like Dictionary, Vector, Stack, and Properties to store and manipulate objects, but they lacked cohesion. The Java collections framework was designed to provide a unified, high-performance approach through fundamental collection types like lists, trees, and hash tables. It also aimed to allow different collection types to work similarly and be easily extended or adapted.

Uploaded by

Amutha Arun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Prior to Java 2, Java provided ad hoc classes such as Dictionary, Vector, Stack, and Properties to store and

manipulate groups of objects. Although these classes were quite useful, they lacked a central, unifying theme. Thus,
the way that you used Vector was different from the way that you used Properties.
The collections framework was designed to meet several goals.

The framework had to be high-performance. The implementations for the fundamental collections (dynamic arrays,
linked lists, trees, and hashtables) are highly efficient.

The framework had to allow different types of collections to work in a similar manner and with a high degree of
interoperability.

Extending and/or adapting a collection had to be easy.

You might also like