2002-07-24 22:36:45 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<document>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<title>Commons</title>
|
|
|
|
<author email="commons-dev@jakarta.apache.org">Commons Documentation Team</author>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<section name="The Collections Component">
|
|
|
|
|
|
|
|
<p>
|
2004-01-05 19:44:20 -05:00
|
|
|
The <a href="http://java.sun.com/products/j2se/1.4/docs/guide/collections/">Java Collections Framework</a>
|
|
|
|
was a major addition in JDK 1.2.
|
|
|
|
It added many powerful data structures that accelerate development of most significant Java applications.
|
|
|
|
Since that time it has become the regognised standard for collection handling in the Java language.
|
2002-07-24 22:36:45 -04:00
|
|
|
</p>
|
|
|
|
<p>
|
2004-01-05 19:44:20 -05:00
|
|
|
Commons-Collections seek to build upon the JDK classes by providing new interfaces, implementations and utilities.
|
|
|
|
There are many features, including:
|
2002-07-24 22:36:45 -04:00
|
|
|
<ul>
|
2004-01-05 19:44:20 -05:00
|
|
|
<li>Bag interface for collections that have a number of copies of each object</li>
|
|
|
|
<li>Buffer interface for collections that have a well defined removal order, like FIFOs</li>
|
|
|
|
<li>BidiMap interface for maps that can be looked up from value to key as well and key to value</li>
|
|
|
|
<li>MapIterator interface to provide simple and quick iteration over maps</li>
|
|
|
|
<li>Type checking decorators to ensure that only instances of a certain type can be added</li>
|
|
|
|
<li>Transforming decorators that alter each object as it is added to the collection</li>
|
|
|
|
<li>Composite collections that make multiple collections look like one</li>
|
|
|
|
<li>Ordered maps and sets that retain the order elements are added in, including an LRU based map</li>
|
|
|
|
<li>Identity map that compares objects based on their identity (==) instead of the equals method</li>
|
|
|
|
<li>Reference map that allows keys and/or values to be garbage collected under close control</li>
|
|
|
|
<li>Many comparator implementations</li>
|
|
|
|
<li>Many iterator implementations</li>
|
|
|
|
<li>Adapter classes from array and enumerations to collections</li>
|
|
|
|
<li>Utilities to test or create typical set-theory properties of collections such as union, intersection, and closure</li>
|
2002-07-24 22:36:45 -04:00
|
|
|
</ul>
|
|
|
|
</p>
|
|
|
|
</section>
|
|
|
|
|
2004-01-05 19:44:20 -05:00
|
|
|
|
2002-07-24 22:36:45 -04:00
|
|
|
<section name="Documentation">
|
|
|
|
<p>
|
2004-01-05 19:44:20 -05:00
|
|
|
A getting started <a href="userguide.html">User's Guide</a> is available.
|
2002-07-24 22:36:45 -04:00
|
|
|
</p>
|
|
|
|
<p>
|
2004-01-05 19:44:20 -05:00
|
|
|
The JavaDoc API documents are available online for the
|
|
|
|
<a href="api-30/index.html">current release 3.0</a>, the
|
|
|
|
<a href="api-21/index.html">previous version 2.1</a>, and the
|
|
|
|
<a href="apidocs/index.html">latest CVS</a>.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
The <a href="http://cvs.apache.org/viewcvs/jakarta-commons/collections/">CVS repository</a> can be browsed.
|
2002-07-24 22:36:45 -04:00
|
|
|
</p>
|
|
|
|
</section>
|
|
|
|
|
2004-01-05 19:44:20 -05:00
|
|
|
|
2002-07-24 22:36:45 -04:00
|
|
|
<section name="Releases">
|
2004-01-05 19:44:20 -05:00
|
|
|
<p>
|
|
|
|
Version 3.0 -
|
|
|
|
<a href="http://jakarta.apache.org/site/binindex.cgi">Binary</a> -
|
|
|
|
<a href="http://jakarta.apache.org/site/sourceindex.cgi">Source</a>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
For previous releases, see the <a href="http://archive.apache.org/dist/jakarta/commons/collections/">Apache Archive</a>
|
|
|
|
</p>
|
2002-07-24 22:36:45 -04:00
|
|
|
</section>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</document>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|