Michael Smith
d5ca0eeb3c
Changed PriorityQueue and BinaryHeap to allow objects that do not
...
implement Comparable. BinaryHeap implements this by accepting an
optional Comparator in its constructor. If no comparator is specified,
the object's natural ordering is used (i.e. it is cast to a Comparable
and compared using its compareTo method)
Also added basic tests for BinaryHeap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130661 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19 04:34:18 +00:00
Morgan James Delagrange
655353ba07
using the ArrayIterator.setArray(Object) method no longer produces an out of bounds
...
exception
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130655 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19 00:11:56 +00:00
Morgan James Delagrange
00be90bccc
deprecated ArrayEnumeration
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130653 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18 23:51:05 +00:00
Morgan James Delagrange
9bf049746b
added more documentation to the release
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130650 13f79535-47bb-0310-9956-ffa450edef68
2002-03-15 17:28:41 +00:00
Morgan James Delagrange
fd18f108af
added ProxyMap for collections 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130648 13f79535-47bb-0310-9956-ffa450edef68
2002-03-15 05:41:23 +00:00
Michael Smith
976b14463e
Update release notes for Bag and BeanMap changes.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130643 13f79535-47bb-0310-9956-ffa450edef68
2002-03-13 06:07:14 +00:00
Morgan James Delagrange
3c49cc5368
added the new Comparator classes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130635 13f79535-47bb-0310-9956-ffa450edef68
2002-03-07 18:24:10 +00:00
Morgan James Delagrange
1391e31e55
put changed collections in alpha order
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130614 13f79535-47bb-0310-9956-ffa450edef68
2002-02-26 22:10:39 +00:00
Morgan James Delagrange
17ce3e4615
was missing documentation for 2 Bag classes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130613 13f79535-47bb-0310-9956-ffa450edef68
2002-02-26 21:56:22 +00:00
Morgan James Delagrange
aefdbe058a
converted release notes to HTML, added descriptions of all new
...
Collections from the JavaDocs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130612 13f79535-47bb-0310-9956-ffa450edef68
2002-02-26 21:48:22 +00:00