Reputation: 13321
Could anyone please give me a brief full list of containers in Java? Some of the ones I know are Array, Arraylist, Hashtable, HashMap, HashSet, Node, NodeList, TreeNode, and TreeMap.
Upvotes: 24
Views: 97441
Reputation: 14738
Essentially, all the docs about java "containers", or better known as collections, is here, with the most useful page being this one, brief list here. There are other implementations of the collections framework, like the fastutils framework that gives better performance if you knew the type you were going to use. Also Gnu Trove is another one similar to fastutils.
Upvotes: 41
Reputation: 116342
You can check at official Sun tutorial.
EDIT
Check also the Google Collections library:
The Google Collections is a set of new collection types, implementations and related goodness for Java 5 and higher, brought to you by Google. It is a natural extension of the Java Collections Framework you already know and love.
Edit: There was a very nice cheatsheet for Java Collections which is not available anymore. There are lots of others though, like this one.
Upvotes: 3
Reputation: 22382
"Containers are the interface between a component and the low-level platform-specific functionality that supports the component. Before a web component, enterprise bean, or application client component can be executed, it must be assembled into a Java EE module and deployed into its container." here is my source : http://docs.oracle.com/javaee/1.4/tutorial/doc/Overview3.html
Upvotes: 3
Reputation: 9564
Have a look-see at the Java Collections API, and at this page for more information
Upvotes: 2
Reputation: 2508
I don't know if I can give you a complete exhaustive list, but I believe most of the standard Java API containers should reside in the java.util package.
Upvotes: 1
Reputation: 50868
A good start is looking at which classes implement Collection<E> and Map<K,V>.
Upvotes: 1