87 lines
4.0 KiB
HTML
87 lines
4.0 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>MultiKeyMap - A map that allows multiple keys to be used to map the value</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>MapBackedSet - Set created by decorating a map</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>
|
|
<li>AbstractLinkedList/NodeCachingLinkedList - added getValue() and setValue() to Node, and made everything use them</li>
|
|
<li>LRUMap - The addMapping() method now uses isFull() to determine whether it is full</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>
|
|
<li>LRUMap - The removeLRU() method was passed the wrong LinkEntry [28433]</li>
|
|
<li>EnumIterator/MapUtils - Changed enum references to enable JDK 1.5 compliance</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>
|
|
<li>BidiMap - Clarify 1 to 1 nature of the map</li>
|
|
<li>LRUMap - Added extra javadoc about method implementations</li>
|
|
<li>BoundedCollection/UnmodifiableBoundedCollection - reword to avoid misunderstandings</li>
|
|
<li>Closure/Predicate/Transformer/Factory - Additional javadoc with links</li>
|
|
<li>ClosureUtils/PredicateUtils/TransformerUtils/FactoryUtils - Additional links to implementations</li>
|
|
</ul>
|