commons-collections/RELEASE-NOTES.html

76 lines
3.1 KiB
HTML

<!--
Copyright 2003-2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<title>RELEASE NOTES: COLLECTIONS 3.1</title>
<center><h2>RELEASE NOTES: COLLECTIONS 3.1</h2></center>
<p>
This release focusses on bug fixes and minor enhancements.
No interface changes, or deprecations have occurred.
<hr />
<center><h3>NEW CLASSES</h3></center>
<ul>
<li>SingletonMap - fully featured singleton Map implementation</li>
<li>TransformedPredicate - A predicate where the input object is transformed [26946]</li>
<li>ObjectGraphIterator - An iterator that can iterate over a graph of objects</li>
<li>AbstractReferenceMap - New base class for reference maps [26503]</li>
</ul>
<center><h3>ENHANCEMENTS</h3></center>
<ul>
<li>ReferenceMap - Changed to extend AbstractReferenceMap, thus gaining a mapIterator() and subclassability [26503]</li>
<li>Fast3Map - Add clone() method</li>
<li>MultiKey - Add getKey(index) and size() methods and make constructor public</li>
<li>MultiHashMap - Add five methods to improve the API</li>
<li>AbstractHashedMap,AbstractLinkedMap - Add methods to access entry methods when protected scope blocks</li>
<li>Functors - Add get methods to retrieve internal state [27515]</li>
<li>Functors - Add additional getInstance() methods for consistency [27856,27857]</li>
<li>CollectionUtils - get(Object,int) method now supports primitive arrays</li>
<li>CollectionUtils - Add size(Object) method to find the size of various collection-like objects [27909]</li>
<li>SingletonIterator - make remove() functionality optional</li>
</ul>
<h4>Made Serializable</h4>
<ul>
<li>Fast3Map [27946]</li>
<li>FixedSizeMap/SortedMap [18815]</li>
<li>LazyMap/SortedMap [18815]</li>
<li>ListOrderedMap [18815]</li>
<li>PredicatedMap/SortedMap [18815]</li>
<li>TransformedMap/SortedMap [18815]</li>
<li>TypedMap/SortedMap [18815]</li>
<li>UnmodifiableMap/SortedMap/OrderedMap [18815]</li>
<li>TiedMapEntry</li>
</ul>
<center><h3>BUG FIXES</h3></center>
<ul>
<li>Map/BidiMap implementations only checked key and not value in entry set contains(Object) and remove(Object)</li>
<li>AbstractHashedMap subclasses failed to clone() correctly [27159]</li>
<li>ExtendedProperties - Close input stream in constructor [27737]</li>
<li>Flat3Map - Handle infinite loops in toString</li>
</ul>
<center><h3>JAVADOC</h3></center>
<ul>
<li>TreeBidiMap - Add javadoc about requiring Comparable entries [26470]</li>
<li>MultiKey - Add extra explanatations, examples and warnings</li>
<li>MultiMap,MultiHashMap - Add extra documentation to clarify the interface and implementation</li>
<li>XxxUtils - Clarify the internal workings of the predicated decorator classes [28115]</li>
</ul>