What are the containers in Java

久未见 提交于 2019-11-28 19:25:40

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.

dfa

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.

Have a look-see at the Java Collections API, and at this page for more information

grepit

"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

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

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!