Commit Graph

1444 Commits

Author SHA1 Message Date
Stephen Colebourne f95139faac Move validate method next to its comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131704 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:11:04 +00:00
Dirk Verbeeck abfe51e356 fix broken build.xml
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131703 13f79535-47bb-0310-9956-ffa450edef68
2004-05-04 17:46:51 +00:00
Stephen Colebourne d56568acdf Change internal storage class to an AbstractHashedMap, allowing more choice of implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131702 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 22:57:40 +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 9632130599 Comment out tests as they are unreliable, especially for gump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131700 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 22:03:06 +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 07a0f5c777 Add targets that could be used to build smaller jars
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131698 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 21:04:46 +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 2182a43da2 Fix to ensure unmodifiable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131696 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 15:13:05 +00:00
Stephen Colebourne da463d13e7 Update Bag interface method text to indicate that we won't break compatability
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131695 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 15:12:20 +00:00
Stephen Colebourne 08756b758a Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131694 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 12:03:11 +00:00
Stephen Colebourne 9a462e3990 Refactor to avoid unecessary instanceof call
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131693 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 11:50:30 +00:00
Stephen Colebourne 4eee185efd Remove dependency on functor subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131692 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 11:38:49 +00:00
Stephen Colebourne 987911a4a5 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131691 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 10:23:38 +00:00
Stephen Colebourne e4a0565465 Get extra log information back when test fails
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131690 13f79535-47bb-0310-9956-ffa450edef68
2004-05-01 14:00:41 +00:00
Stephen Colebourne c1576044be Change MultiKeyMap to be a decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131689 13f79535-47bb-0310-9956-ffa450edef68
2004-04-30 23:51:36 +00:00
Stephen Colebourne 39ea52a450 Integrate reference identity map tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131688 13f79535-47bb-0310-9956-ffa450edef68
2004-04-30 22:53:44 +00:00
Stephen Colebourne 6f57c5a1f7 Improve reference map testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131687 13f79535-47bb-0310-9956-ffa450edef68
2004-04-30 22:53:16 +00:00
Stephen Colebourne 51c209801f Update to include latest map additions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131686 13f79535-47bb-0310-9956-ffa450edef68
2004-04-30 21:13:38 +00:00
Stephen Colebourne 640d3a7b30 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131685 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 22:57:00 +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 a803d3b7b6 Add ReferenceIdentityMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131683 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 21:37:32 +00:00
Stephen Colebourne 6f10e417e1 Make ReferenceMap serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131682 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 21:35:23 +00:00
Stephen Colebourne c748ff1b56 Improve subclassability by delegating methods from entry to main map
Add support for serializable subclasses


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131681 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 21:32:52 +00:00
Stephen Colebourne b2c7419e38 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131680 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 21:28:40 +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 156ebc8e09 Use isFull() from addMapping() for better subclassing ability
from Mike Pettypiece


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131676 13f79535-47bb-0310-9956-ffa450edef68
2004-04-25 23:30:07 +00:00
Stephen Colebourne bc680b3f48 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131675 13f79535-47bb-0310-9956-ffa450edef68
2004-04-25 23:27:43 +00:00
Stephen Colebourne 14e6c1795c Change enum to enumeration for JDK1.5 compliance
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131674 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 20:34:12 +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 a99be038ce Add Mike Pettypiece
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131671 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 23:35:07 +00:00
Stephen Colebourne 2199ec2fdf Add accessor methods for value field in Node
from Mike Pettypiece


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131670 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 23:33:54 +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 6aa2539dbf Add additional javadoc links to implementation classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131667 13f79535-47bb-0310-9956-ffa450edef68
2004-04-14 21:47:47 +00:00
Stephen Colebourne 94d5227bbf Clarify javadoc
from Simon Kitching


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131666 13f79535-47bb-0310-9956-ffa450edef68
2004-04-14 20:15:42 +00:00
Stephen Colebourne 834641d84a Add additional javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131665 13f79535-47bb-0310-9956-ffa450edef68
2004-04-14 20:08:57 +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 07a0768664 Fix additional tests for null handling to work with SortedMaps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131663 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 12:04:00 +00:00
Stephen Colebourne 3ecf858e1a Remove reference to JDK1.2, as it breaks other tests, and seems to work anyway
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131662 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 12:01:38 +00:00
Stephen Colebourne 47f1e810f5 Add additional tests for null handling
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131661 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 11:38:33 +00:00
Stephen Colebourne 7374b1b7c2 Add singleton map to javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131660 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 11:37:05 +00:00
Stephen Colebourne 60dc88188c Change TransformedMap test cases to use good Transformer for serialization
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131659 13f79535-47bb-0310-9956-ffa450edef68
2004-04-10 22:22:57 +00:00
Stephen Colebourne f655a04d2d Improve ant script to provide more info on tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131658 13f79535-47bb-0310-9956-ffa450edef68
2004-04-10 22:20:06 +00:00
Stephen Colebourne 2caafbc11f Remove now that definitions integrated back into project xml
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131657 13f79535-47bb-0310-9956-ffa450edef68
2004-04-10 22:19:27 +00:00
Stephen Colebourne 2edcfa07f8 Order tests alphabeticaly and by impl vs decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131656 13f79535-47bb-0310-9956-ffa450edef68
2004-04-10 21:24:21 +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