Commit Graph

1405 Commits

Author SHA1 Message Date
Stephen Colebourne 5ca563790b Ensure constructor and clone method correctly clone multimaps
bug 28972


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131715 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 22:33:58 +00:00
Stephen Colebourne c95ade5f5c Improve implementation of TreeList to perform better, fix bugs
bug 26680, 28930


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131714 13f79535-47bb-0310-9956-ffa450edef68
2004-05-12 23:24:45 +00:00
Stephen Colebourne 785cf45dae Add tests of specific ListIterator behaviour
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131713 13f79535-47bb-0310-9956-ffa450edef68
2004-05-12 22:20:54 +00:00
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 26b4fbb7d7 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131711 13f79535-47bb-0310-9956-ffa450edef68
2004-05-10 20:37:19 +00:00
Stephen Colebourne eff482b531 Add initial version of TreeList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131710 13f79535-47bb-0310-9956-ffa450edef68
2004-05-10 19:59:03 +00:00
Stephen Colebourne ec49504b41 Comment entrySet so its clear as to how implementation works
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131709 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:58:33 +00:00
Stephen Colebourne 17f2f14e8e Change to FactoryTransformer to avoid indirect references via TransformerUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131708 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:30:33 +00:00
Stephen Colebourne 7d044b046a Change to UniquePredicate to avoid indirect references via PredicateUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131707 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:29:02 +00:00
Stephen Colebourne 28ff2455d8 Change to InstanceofPredicate to avoid indirect references via PredicateUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131706 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:28:38 +00:00
Stephen Colebourne 9f99282555 Change to InstanceofPredicate to avoid indirect references via PredicateUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131705 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 23:18:26 +00:00
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