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 began programming with Java back in the days of Java 1.4 and has been passionate about it ever since. You can connect with him on Facebook and watch his Java videos on 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