Java Collections Tutorial Part - 4

We have finished discussing Iterators, Collection Interfaces and Classes, Map Interfaces and
Classes. Now, we shall discuss the Legacy Interfaces and Classes - the final part of the tutorial.

THE LEGACY CLASSES AND INTERFACES:

● These classes were used to store objects before the development of Collections
Framework.

● All the legacy classes are synchronized.

THE LEGACY INTERFACE:

alt text

THE LEGACY ABSTRACT CLASS:

alt text

THE LEGACY CLASSES:

The below table shows the differences between various Legacy classes. The terms used in the
table are same as the ones used in Collection classes table.

alt text


Java Collections Tutorial Series:

Java Collections Tutorial Part - 1

Java Collections Tutorial Part - 2

Java Collections Tutorial Part - 3

Java Collections Tutorial Part - 4

2 Likes