The Java collections framework has a very complex API hierarchy.

The following class diagram shows a brief overview of the Java Collections Framework which is divided into four groups: List, Set, Map and Queue. Only the principal, commonly-used interfaces and classes are listed.

 

collections framework overview

 Class diagram of Java Collections framework

There are also more detailed class diagrams for each group:

 

Other Java Collections Tutorials: 


About the Author:

is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on Facebook and watch his Java videos you YouTube.



Add comment

   


Comments 

#4dfdkf2021-06-12 04:02
hello firends this is lund
Quote
#3Gourav Choubey2016-08-31 07:34
we could have also defined method to compare objects of two subclasses as below

Boolean average(Statcomp arr) {
double sum = 0.0;
double sum1=0;
for(int i=0; i < nums.length; i++)
sum += nums.doubleValue();
for( int i=0; i < arr.nums.length; i++)
sum1 += arr.nums.doubleValue();
return (sum1==sum);
}
Then what is requirement of wildcard??
Quote
#2Jacek Gzel2015-09-24 02:10
Hi,
TreeSet implements NavigableSet not extends.
Quote
#1ade li2014-12-21 21:45
Hi,
I think AbstractSequentialList just extends AbstractList, and
LinkedList extends AbstractSequentialList and implements List
Quote