What containers in Java

Can someone please give me a short complete list of containers in Java? Some of the ones I know are Array, Arraylist, Hashtable, HashMap, HashSet, Node, NodeList, TreeNode and TreeMap.

+18
java containers
Aug 17 '09 at 15:46
source share
6 answers

essentially all documents about java containers or better known as collections are here , with the most useful page being this short list here . There are other implementations of the collection framework, such as the fastutils framework , which gives better performance if you know the type you are going to use. Gnu Trove is another fastutils-like one.

+31
Aug 17 '09 at 15:49
source share

You can see the official Sun tutorial .

EDIT

Check also the Google Collection Library :

Google Collections is a collection of new types of collections, implementations, and related qualities for Java 5 and up provided by Google. This is a natural extension of the Java Collections Framework that you already know and love.

Edit: There was a very good cheatsheet for Java collections , which is no longer available. There are many others though, like this one .

+3
Aug 17 '09 at 15:51
source share

Take a look at the Java Collections API and this page for more information.

+2
Aug 17 '09 at 15:51
source share

"Containers are the interface between a component and a low-level platform that supports the component. Before a web component can be run as an enterprise bean or a client component of an application, it must be assembled in Java EE and deployed to its container." here is my source: http://docs.oracle.com/javaee/1.4/tutorial/doc/Overview3.html

+2
Jan 31 '13 at 16:50
source share

A good start is considering which classes implement Collection <E> and Map <K, V> .

+1
Aug 17 '09 at 15:50
source share

I do not know if I can give you a complete exhaustive list, but I believe that most standard Java API containers should be in the java.util package.

0
Aug 17 '09 at 15:50
source share



All Articles