Commit Graph

47 Commits

Author SHA1 Message Date
Stephen Colebourne 60d03cea8f Add behaviour to scan map to find a removable element when full
bug 28887, from Mario Ivankovits


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131712 13f79535-47bb-0310-9956-ffa450edef68
2004-05-12 19:55:56 +00:00
Stephen Colebourne 31f6d2ad65 Add notes about compatability
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131701 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 22:43:57 +00:00
Stephen Colebourne 486a169f5e Add AbstractInputCheckedMapDecorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131699 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 21:48:49 +00:00
Stephen Colebourne 45f6b5b217 UnmodifiableSortedBag - Fix to ensure unmodifiable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131697 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 15:13:30 +00:00
Stephen Colebourne 3680827881 Updates to ReferenceMap et al
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131684 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 21:45:37 +00:00
Stephen Colebourne d3077d07ae Update Bag interface text to indicate that we won't break compatability
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131679 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 20:43:05 +00:00
Stephen Colebourne a249eba720 Add special cases for Set and Bag to CollectionUtils cardinality()
bug 28629, from Jon Schewe


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131678 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 20:00:18 +00:00
Stephen Colebourne 730b224f37 More release notes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131677 13f79535-47bb-0310-9956-ffa450edef68
2004-04-25 23:33:11 +00:00
Stephen Colebourne 491e48297b Add MapBackedSet that creates a Set by decorating a Map
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131673 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 23:51:31 +00:00
Stephen Colebourne cf68324e1b Add accessor methods for value field in Node of AbstractLinkedList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131672 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 23:47:53 +00:00
Stephen Colebourne 845a2177db LRUMap - The removeLRU() method was passed the wrong LinkEntry [28433]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131669 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 23:53:59 +00:00
Stephen Colebourne 2c7a9427eb Add the new javadoc to the release notes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131668 13f79535-47bb-0310-9956-ffa450edef68
2004-04-14 21:48:28 +00:00
Stephen Colebourne 9cfe01cf6d Add MultiKeyMap implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131664 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 12:05:30 +00:00
Stephen Colebourne 0571aaf5e8 Extract AbstractReferenceMap from ReferenceMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131655 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 22:56:00 +00:00
Stephen Colebourne d759d4214b Make typed maps Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131644 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 14:57:41 +00:00
Stephen Colebourne 194c96f33b Add fully featured SingletonMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131643 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 14:46:35 +00:00
Stephen Colebourne c2a8216feb Handle infinite loops in toString of Flat3Map
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131641 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 14:42:36 +00:00
Stephen Colebourne 56d551feff SingletonIterator - make remove() functionality optional
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131640 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 14:38:47 +00:00
Stephen Colebourne 94fff264aa Make TiedMapEntry serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131638 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 14:35:10 +00:00
Stephen Colebourne 70dc4fb1c3 Make ListOrderedMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131629 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 23:17:25 +00:00
Stephen Colebourne bef34f2326 Make LazyMap/LazySortedMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131628 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 23:05:37 +00:00
Stephen Colebourne b3c30a8d97 Make FixedSizeSortedMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131626 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 23:12:34 +00:00
Stephen Colebourne b09e8a2033 Make FixedSizeMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131623 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:15:05 +00:00
Stephen Colebourne 5f9f0b259e Add support for accessing primitive arrays in get(Object,int) and size(Object)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131621 13f79535-47bb-0310-9956-ffa450edef68
2004-04-01 22:43:13 +00:00
Stephen Colebourne 199716c53f Bug fix where Map/BidiMap implementations only checked key
and not value in entrySet contains(Object) and remove(Object)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131620 13f79535-47bb-0310-9956-ffa450edef68
2004-04-01 22:18:12 +00:00
Stephen Colebourne f34f3d2cff Clarify the internal workings of the predicated decorator from the Utils classes
bug 28115


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131619 13f79535-47bb-0310-9956-ffa450edef68
2004-04-01 20:12:00 +00:00
Stephen Colebourne 6e220f8a84 Changed ReferenceMap to extend AbstractHashedMap, thus gaining a mapIterator() and subclassability
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131618 13f79535-47bb-0310-9956-ffa450edef68
2004-04-01 00:07:48 +00:00
Stephen Colebourne dce4319552 Make Flat3Map serializable
bug 27946
Add clone() to Flat3Map


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131617 13f79535-47bb-0310-9956-ffa450edef68
2004-03-31 23:18:56 +00:00
Stephen Colebourne 2f9c5a0839 Add additional getInstance() methods for consistency
bugs 27856,27857


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131614 13f79535-47bb-0310-9956-ffa450edef68
2004-03-31 22:06:12 +00:00
Stephen Colebourne c324046a54 Add size(Object) method to find the size of various collection-like objects
bug 27909, from Steven Melzer


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131612 13f79535-47bb-0310-9956-ffa450edef68
2004-03-31 21:43:27 +00:00
Stephen Colebourne 90e7aafdc5 Close file created in constructor
bug 27737


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131610 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 21:14:10 +00:00
Stephen Colebourne 43923dc65c Add five new methods to MultiHashMap to provide broader API
inspired by ideas/javadoc from Jesse Chan


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131607 13f79535-47bb-0310-9956-ffa450edef68
2004-03-14 17:05:24 +00:00
Stephen Colebourne 17e27dbcd3 MultiMap,MultiHashMap, add extra documentation to clarify the interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131606 13f79535-47bb-0310-9956-ffa450edef68
2004-03-14 15:33:57 +00:00
Stephen Colebourne 5bd1ed25de Add getters to functor classes
bug 27515


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131605 13f79535-47bb-0310-9956-ffa450edef68
2004-03-13 17:17:03 +00:00
Stephen Colebourne 78238bdc12 Add TransformedPredicate, which transforms before calling a predicate
bug 26946, from Alban Peignier


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131603 13f79535-47bb-0310-9956-ffa450edef68
2004-03-13 16:34:46 +00:00
Stephen Colebourne d877995019 AbstractHashedMap,AbstractLinkedMap add entryXxx() methods
to get around protected scope limits in subclasses


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131602 13f79535-47bb-0310-9956-ffa450edef68
2004-03-13 15:54:34 +00:00
Stephen Colebourne 320589dca3 MultiKey enhancements to add getKey(index) and size()
Make protected constructor public
Add lots of javadoc examples and warnings


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131601 13f79535-47bb-0310-9956-ffa450edef68
2004-03-13 12:43:43 +00:00
Stephen Colebourne 227cb6a4a1 Start building release notes for 3.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131595 13f79535-47bb-0310-9956-ffa450edef68
2004-02-27 00:22:09 +00:00
Stephen Colebourne 34c19673f2 Change to Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131594 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 21:41:04 +00:00
Henri Yandell 246605f228 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131565 13f79535-47bb-0310-9956-ffa450edef68
2004-01-17 16:57:19 +00:00
Stephen Colebourne 32a06e1067 Add CaseInsensitiveMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131548 13f79535-47bb-0310-9956-ffa450edef68
2004-01-12 21:44:48 +00:00
Stephen Colebourne afbb53b755 Document the PriorityQueue Buffer changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131533 13f79535-47bb-0310-9956-ffa450edef68
2004-01-06 21:44:43 +00:00
Stephen Colebourne ae265c0ad2 Update with incompatable changes in 3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131513 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 19:04:32 +00:00
Stephen Colebourne d83c7839e0 Undeprecate BinaryHeap, as is only implementation of PriorityQueue
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131492 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:05:05 +00:00
Stephen Colebourne b8fef8dfe7 Update for version 3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131481 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 18:04:36 +00:00
Stephen Colebourne 98b5e51dfa More release notes work for 3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131323 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 23:08:16 +00:00
Stephen Colebourne 36e0dc40a1 Start the process of writing 3.0 release notes - iterator package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131207 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 22:46:15 +00:00