Commit Graph

1234 Commits

Author SHA1 Message Date
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
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 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 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 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 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 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 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 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 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 79a39dac13 Add since tags and Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131652 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 22:53:27 +00:00
Stephen Colebourne e2db31cf78 Add since tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131651 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 22:52:48 +00:00
Stephen Colebourne 4433733ff1 Extract AbstractReferenceMap from ReferenceMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131650 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 22:18:18 +00:00
Stephen Colebourne 4c37a65e92 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131649 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 22:14:09 +00:00
Stephen Colebourne 64c1bc3bb0 Disable sub map serializable tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131647 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 15:17:11 +00:00
Stephen Colebourne a61511a01b Increase testing of serialization
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131646 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 15:16:24 +00:00
Stephen Colebourne a32505290c Fix tests for sub map views so BidiMap tests still work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131645 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 15:04:29 +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 41660b5d62 Handle singleton maps in test class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131642 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 14:45:38 +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 8900470578 Handle singleton maps in test class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131639 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 14:38:13 +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 3c1749c51b Make unmodifiable maps Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131637 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 10:46:32 +00:00
Stephen Colebourne ac6c18f090 Simplify the decorator serialization, add javadoc [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131636 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 10:36:02 +00:00
Stephen Colebourne a05ca20552 Make UnmodifiableMap Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131635 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 10:32:25 +00:00
Stephen Colebourne dcfc9f4ac2 Make Predicated and Transformed maps Serializable [18815]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131634 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 09:43:09 +00:00
Stephen Colebourne 9511ce8dc1 Use support to work around bug in TreeMap sub map deserialization
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131633 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 09:40:15 +00:00
Stephen Colebourne 15cf4382a6 Change to extend AbstractTestSortedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131632 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 09:39:47 +00:00
Stephen Colebourne 4509092213 Formatting and layout
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131631 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 09:39:16 +00:00
Stephen Colebourne ea2aa40945 Enable support to work around bug in TreeMap sub map deserialization
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131630 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 09:38:31 +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 daa11bc5fa Add support for testing sub maps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131625 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 23:09:09 +00:00
Stephen Colebourne 9bd92c2f24 Enable subclasses to be serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131624 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:17:48 +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 c0b68181f8 Enable subclasses to be serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131622 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:02:54 +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 67ce6b9853 Add @since tag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131616 13f79535-47bb-0310-9956-ffa450edef68
2004-03-31 23:13:50 +00:00
Stephen Colebourne 8ffdacacc3 Add @since tags
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131615 13f79535-47bb-0310-9956-ffa450edef68
2004-03-31 23:13:04 +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 c1d10f003e Rename TreeIterator to ObjectGraphIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131611 13f79535-47bb-0310-9956-ffa450edef68
2004-03-20 00:21:08 +00:00
Stephen Colebourne b31704e939 Close file created in constructor
bug 27737


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131609 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 21:09:08 +00:00
Stephen Colebourne cc8f778554 Add TreeIterator for iterating over object graphs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131608 13f79535-47bb-0310-9956-ffa450edef68
2004-03-14 23:27:22 +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 a02862092a Consistent coding standards wrt package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131604 13f79535-47bb-0310-9956-ffa450edef68
2004-03-13 17:15:17 +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 137114ee9f Test cloning of maps works correctly
bug 27159, identified by Fabrizio Giustina


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131597 13f79535-47bb-0310-9956-ffa450edef68
2004-02-27 00:25:14 +00:00
Stephen Colebourne 5c255a657e Fix implementation of cloning
bug 27159, identified by Fabrizio Giustina


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131596 13f79535-47bb-0310-9956-ffa450edef68
2004-02-27 00:24:05 +00:00
Stephen Colebourne 8b8ed1b86e Change to Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131592 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 21:39:04 +00:00
Stephen Colebourne f571f8b1cd Change to Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131587 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 01:20:40 +00:00
Stephen Colebourne 8696db2a2a Change to Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131586 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 01:00:08 +00:00
Stephen Colebourne 6a60645c40 Javadoc problem
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131582 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 00:28:47 +00:00
Stephen Colebourne 5267bb8fcd Add javadoc about requiring Comparable entries
bug 26470 from Jeff Skubick


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131581 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 21:13:05 +00:00
Stephen Colebourne 40d58bc828 New ant build file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131578 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 01:23:04 +00:00
Stephen Colebourne c9ac0e22a3 Avoid some null-based tests in JDK1.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131575 13f79535-47bb-0310-9956-ffa450edef68
2004-01-24 21:48:27 +00:00
Stephen Colebourne d630f80567 Switch to version 3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131572 13f79535-47bb-0310-9956-ffa450edef68
2004-01-24 16:15:09 +00:00
Stephen Colebourne c7c3be448b Add more to the manifest to bring closer to maven
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131570 13f79535-47bb-0310-9956-ffa450edef68
2004-01-24 16:11:47 +00:00
Stephen Colebourne 43459ad8a0 Make license consistent with rest of commons
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131561 13f79535-47bb-0310-9956-ffa450edef68
2004-01-14 21:43:18 +00:00
Stephen Colebourne f10289d80a Make license consistent with rest of commons
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131560 13f79535-47bb-0310-9956-ffa450edef68
2004-01-14 21:34:36 +00:00
Stephen Colebourne 3b3729b25e Avoid javadoc errors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131552 13f79535-47bb-0310-9956-ffa450edef68
2004-01-14 00:59:14 +00:00
Stephen Colebourne f2b7804f1e Javadoc tidy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131547 13f79535-47bb-0310-9956-ffa450edef68
2004-01-12 21:41:41 +00:00
Timothy O'Brien 8f5b769410 Proposed white background Maven site
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131544 13f79535-47bb-0310-9956-ffa450edef68
2004-01-12 02:33:15 +00:00
Stephen Colebourne e97baa4b4a Fix spellings and javadoc
bug 25937, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131538 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 22:37:31 +00:00
Stephen Colebourne 81cf8ee877 Fixes to javadoc. Remove unecessary casts.
bug 25936, from Gary Gregory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131537 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 22:26:08 +00:00
Stephen Colebourne d343099385 Fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131536 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 22:18:16 +00:00
Stephen Colebourne e3f754bec1 Update deprecation messages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131534 13f79535-47bb-0310-9956-ffa450edef68
2004-01-06 22:07:47 +00:00
Stephen Colebourne 1672bb3ee0 Change superclass to NoSuchElementException for better collections integration
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131532 13f79535-47bb-0310-9956-ffa450edef68
2004-01-06 21:43:08 +00:00
Stephen Colebourne a0182a05b5 Deprecate PriorityQueue interface - Use Buffer interface instead
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131531 13f79535-47bb-0310-9956-ffa450edef68
2004-01-06 21:31:32 +00:00
Stephen Colebourne 2ebe287c9b Fix spellings in javadoc
bug 25906, from Janek Bogucki


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131528 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 22:46:33 +00:00
Stephen Colebourne fac886756a Update file layout for consistency
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131527 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 22:27:08 +00:00
Stephen Colebourne fc0303fee1 Add public constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131526 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 22:19:51 +00:00
Stephen Colebourne 797b45682f Update file layout for consistency
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131525 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 22:15:15 +00:00
Stephen Colebourne d25ba06165 Update file layout for consistency
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131524 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 22:04:19 +00:00
Stephen Colebourne a1eb25eeac Update file layout for consistency
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131523 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 21:54:06 +00:00
Stephen Colebourne e092de9763 Update file layout for consistency
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131522 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 21:46:49 +00:00
Stephen Colebourne 05b6c75bd3 Fix javadoc, from Gary Gregory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131521 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 21:37:13 +00:00
Stephen Colebourne eedfe8bd88 Fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131520 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 21:33:22 +00:00
Stephen Colebourne 9b1843b10d Add constructor
Fix javadoc, from Gary Gregory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131519 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 21:31:48 +00:00
Stephen Colebourne 16c0a94d68 Add missing since tag
Add public constructor


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131518 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 21:23:44 +00:00
Phil Steitz e8a27d81e9 javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131516 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 05:40:40 +00:00
Phil Steitz a278beae5b Added CaseInsensitiveMap.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131515 13f79535-47bb-0310-9956-ffa450edef68
2004-01-05 05:26:56 +00:00
Stephen Colebourne dd3ac36b1b Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131512 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 19:03:53 +00:00
Stephen Colebourne abf6af4735 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131511 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 18:58:32 +00:00
Stephen Colebourne 220b87ff78 Remove over-loud html javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131510 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 18:56:37 +00:00
Stephen Colebourne 78c075b619 Avoid backwards compatability issues by leaving fields non-final
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131509 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 18:37:42 +00:00
Stephen Colebourne c2d1c560e7 Tidy deprecation messages prior to release 3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131508 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 18:04:16 +00:00
Stephen Colebourne 274b6c5b5b Removed prior to release 3.0, now available in commons-events
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131507 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 18:03:41 +00:00
Stephen Colebourne 79c48c8ddf Removed prior to release 3.0, now available in per interface packages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131506 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 18:02:58 +00:00
Stephen Colebourne 7525add3f4 Removed prior to release 3.0, now available as per interface packages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131505 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 18:01:43 +00:00
Stephen Colebourne 61cabf18f1 Removed prior to release 3.0, now available in commons-primitives
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131504 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 18:00:58 +00:00
Stephen Colebourne b06e515b6e Weaken tests as needed by [primitives]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131503 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 00:21:58 +00:00
Phil Steitz 0038c2a0e9 javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131501 13f79535-47bb-0310-9956-ffa450edef68
2004-01-03 05:15:00 +00:00
Stephen Colebourne 00f8c54647 Rename BinaryBuffer to PriorityBuffer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131498 13f79535-47bb-0310-9956-ffa450edef68
2004-01-02 02:14:29 +00:00
Stephen Colebourne 61c237e311 Apply collection coding standards
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131497 13f79535-47bb-0310-9956-ffa450edef68
2004-01-02 02:13:07 +00:00
Phil Steitz 08a95179a6 javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131496 13f79535-47bb-0310-9956-ffa450edef68
2004-01-02 01:36:52 +00:00
Phil Steitz 6c12ca3818 Fixed BinaryHeap / BinaryBuffer remove(object) bug.
PR #25818
Reported by: Steve Phelps


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131494 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 23:56:51 +00:00
Stephen Colebourne 6f705a723c Apply collection coding standards
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131493 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:24:46 +00:00
Stephen Colebourne acd90426b4 Rename BinaryHeap to BinaryBuffer
Remove PriorityQueue interface


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131491 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:01:34 +00:00
Stephen Colebourne 23fcdc1e0a Undeprecate, as is only implementation of PriorityQueue
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131490 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:00:20 +00:00
Stephen Colebourne e655652e3d PriorityQueue is replaced by Buffer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131489 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 18:58:55 +00:00
Stephen Colebourne a717f3a947 Move PriorityQueue decorators to PriorityQueueUtils only
(PriorityQueue interface has nothing to do with Buffer)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131488 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 18:57:37 +00:00
Stephen Colebourne b0ab65b742 Improve BidiMap testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131487 13f79535-47bb-0310-9956-ffa450edef68
2003-12-30 21:56:17 +00:00
Stephen Colebourne ea06456646 Improve documentation and error messages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131485 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 19:46:19 +00:00
Stephen Colebourne 87c879e56f Allow multiple levels of interpolation
bug 25553, from hoschek


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131482 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 18:18:34 +00:00
Stephen Colebourne 5215e27ed6 Enable zero iterators in the chain to function
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131480 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 16:07:53 +00:00
Stephen Colebourne e6d11cfee8 Ensure that the keySet and values views handle removed elements
bug 25551, from Joe Raysa


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131479 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 15:35:54 +00:00
Stephen Colebourne a7f9fcfb60 Change to standard variable naming and braces style
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131478 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 15:26:39 +00:00
Stephen Colebourne 1408f0635a Change to standard variable naming and braces style
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131477 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 15:08:15 +00:00
Stephen Colebourne a00293d508 Ensure that the keySet and values views handle removed elements
bug 25551, from Joe Raysa


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131476 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 14:56:21 +00:00
Stephen Colebourne f2d99d55bc Increase flexibility by adding factories for view iterators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131475 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 01:28:20 +00:00
Stephen Colebourne 80036ff8a1 Reinstate FunctorException in main package, as it is specified by the functor interfaces
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131474 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 01:18:23 +00:00
Stephen Colebourne b146eabd9a Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131473 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 01:04:44 +00:00
Stephen Colebourne 5244676eeb Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131472 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 00:57:34 +00:00
Stephen Colebourne 25f0cd5818 Change to standard variable naming style
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131471 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 00:38:32 +00:00
Stephen Colebourne 5f7c041ae0 Unify the variable names across implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131470 13f79535-47bb-0310-9956-ffa450edef68
2003-12-29 00:38:08 +00:00
Stephen Colebourne 9fea39c078 Make inner classes protected
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131469 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 22:53:28 +00:00
Stephen Colebourne d15974e5d5 Deprecate, replace by LinkedMap and ListOrderedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131468 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 22:50:42 +00:00
Stephen Colebourne 76d2a09242 Add list view methods to ordered maps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131467 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 22:45:47 +00:00
Stephen Colebourne 08af31b360 Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131466 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 22:44:18 +00:00
Stephen Colebourne c553298c3e Document preferred equals behaviour
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131465 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 18:08:54 +00:00
Stephen Colebourne 850cdd0029 Add overview for version 3.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131464 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 18:00:23 +00:00
Stephen Colebourne df7cafe578 Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131463 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 17:59:47 +00:00
Stephen Colebourne ac7b2ec527 Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131462 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 16:36:48 +00:00
Stephen Colebourne b8bb52254d Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131461 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 14:55:46 +00:00
Stephen Colebourne dccae620fe Make MutableInteger inner class protected
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131460 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 14:46:28 +00:00
Stephen Colebourne b7dff14128 Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131459 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 14:42:37 +00:00
Stephen Colebourne 67bb56b13b Use unmodifiable iterator directly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131458 13f79535-47bb-0310-9956-ffa450edef68
2003-12-25 01:25:06 +00:00
Stephen Colebourne 4997325aa0 Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131457 13f79535-47bb-0310-9956-ffa450edef68
2003-12-25 01:21:02 +00:00
Stephen Colebourne 2af965bdef Convert inner classes to protected scope to package scope where designed for extension
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131456 13f79535-47bb-0310-9956-ffa450edef68
2003-12-25 01:09:01 +00:00
Stephen Colebourne 80f62bd7a6 Convert inner classes to package scope so they are not in API at present
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131455 13f79535-47bb-0310-9956-ffa450edef68
2003-12-25 00:50:10 +00:00
Stephen Colebourne 5c1a8d15f0 Improve documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131454 13f79535-47bb-0310-9956-ffa450edef68
2003-12-25 00:33:04 +00:00
Stephen Colebourne 32200eb896 Unify handling of equals and hashCode
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131453 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 23:22:54 +00:00
Stephen Colebourne ceb49988b8 Update serialization handling with tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131452 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 23:09:26 +00:00
Stephen Colebourne ae60862fd6 Fix test class to not hard code empty Bag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131451 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 22:38:32 +00:00
Stephen Colebourne 7801d45353 Solve deprecations, fix bug in test
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131450 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 17:31:41 +00:00
Stephen Colebourne 8d031df1a0 Document new CursorableLinkedList
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131449 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:24:09 +00:00
Stephen Colebourne cbca9a2056 Deprecate to new version in list subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131448 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:19:38 +00:00
Stephen Colebourne 0b9cb552be Add CursorableLinkedList to list subpackage
Rework AbstractLL/NodeCachingLL to allow for this
Update tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131447 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:15:40 +00:00
Stephen Colebourne abb9990e0d Fix bugs identified by extended list iterator tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131446 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:13:55 +00:00
Stephen Colebourne 2794a98e3c Make use of proper list iterator tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131445 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:13:13 +00:00
Stephen Colebourne 7cdc68b01b Improve list iterator tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131444 13f79535-47bb-0310-9956-ffa450edef68
2003-12-24 01:12:55 +00:00
Phil Steitz fae8897bc4 Added CompositeSet, CompositeMap contributed by Brian McCallister.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131443 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 21:42:55 +00:00
Stephen Colebourne d9883f168e Fix bug in remove method from coverage testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131442 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 16:10:38 +00:00
Stephen Colebourne daff346e09 Add additional tests for coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131440 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 13:01:07 +00:00
Stephen Colebourne c45a13dee2 Fix bug in remove method from coverage testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131439 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 13:00:03 +00:00
Stephen Colebourne f3eec92e78 Fix bug in iterator method from coverage testing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131438 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 12:59:38 +00:00
Stephen Colebourne 47f07189d4 Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131437 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 12:54:42 +00:00
Stephen Colebourne 41deb399a2 Update javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131436 13f79535-47bb-0310-9956-ffa450edef68
2003-12-13 23:51:28 +00:00
Stephen Colebourne 6b8aad6314 Add package html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131435 13f79535-47bb-0310-9956-ffa450edef68
2003-12-13 23:33:11 +00:00
Stephen Colebourne a9bee7354a Add access method for primitive types
from Ashwin S


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131433 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 23:45:02 +00:00
Stephen Colebourne 6fc38cb3bf Update package javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131432 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 23:15:12 +00:00
Stephen Colebourne c41b34505b Improve javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131431 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 23:01:02 +00:00
Stephen Colebourne f0f4b38270 Implement BoundedCollection interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131430 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 23:00:32 +00:00
Stephen Colebourne 5684754908 Implement BoundedMap interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131429 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 22:55:25 +00:00
Stephen Colebourne 95f17c0843 Add BoundedMap to sit alongside BoundedCollection
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131428 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 22:48:52 +00:00
Stephen Colebourne 78bdfa2962 Update javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131427 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 22:48:09 +00:00
Stephen Colebourne ba1caedfd9 Deprecate LRUMap for new version in map subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131425 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:46:45 +00:00
Stephen Colebourne 2ec031411c Change order of LRUMap to LRU to MRU
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131424 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:46:12 +00:00
Stephen Colebourne 7feafdc4de Handle structural modify maps better
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131423 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:45:25 +00:00
Stephen Colebourne 1decf8b6fb Refactor CommonsLinkedList and NodeCachingLinkedList to list subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131422 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:18:06 +00:00
Stephen Colebourne c784488a2c Improve serialization tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131421 13f79535-47bb-0310-9956-ffa450edef68
2003-12-11 00:16:02 +00:00
Stephen Colebourne 9e9b4858b1 Remove JDK1.4 classes from CVS
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131420 13f79535-47bb-0310-9956-ffa450edef68
2003-12-08 22:05:10 +00:00
Stephen Colebourne c9fc511b34 Refactor HashedMap and LinkedMap into Abstract superclasses
Adjust subclasses appropriately


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131419 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 23:59:13 +00:00
Stephen Colebourne c32add2800 Add LRUMap implementation
Refactor serialization behaviour in HashedMap hierarchy


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131418 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 01:23:54 +00:00
Stephen Colebourne 4f699c8628 Additional testing of new maps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131417 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 01:22:50 +00:00
Stephen Colebourne cfb3754d15 Enable LRUMap testing by adding isGetStructuralModify()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131416 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 01:21:51 +00:00
Stephen Colebourne 5b9d61cdbd Remove commented out code now replaced with better code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131415 13f79535-47bb-0310-9956-ffa450edef68
2003-12-07 01:15:36 +00:00
Stephen Colebourne 570ddedd98 Unify exception messages across map implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131414 13f79535-47bb-0310-9956-ffa450edef68
2003-12-06 14:02:11 +00:00
Stephen Colebourne 5f8fc2f974 Ensure all MapEntry implementation are also KeyValue implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131413 13f79535-47bb-0310-9956-ffa450edef68
2003-12-06 13:03:15 +00:00
Stephen Colebourne 5457ede14f Rename pairs subpackage to keyvalue
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131412 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 20:25:26 +00:00
Stephen Colebourne f381962f52 Ensure the tests use the correct Bag implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131411 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 20:22:12 +00:00
Stephen Colebourne e798e2b7a7 Add LinkedMap map implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131410 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 19:23:08 +00:00
Stephen Colebourne a932442109 Add LinkedMap map implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131409 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 19:05:51 +00:00
Stephen Colebourne 9fb3ef3b2b Change to use HashedMap instead of HashMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131408 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 19:03:50 +00:00
Stephen Colebourne 81a3a4f457 Improve testing of iterators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131407 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 19:03:21 +00:00
Stephen Colebourne cc584dd49a Refactor ReferenceMap to map subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131406 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 15:50:12 +00:00
Stephen Colebourne 399fad2001 Refactor StaticBucketMap to map subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131405 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 15:16:49 +00:00
Stephen Colebourne 982ce83646 Update package description
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131404 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 15:15:16 +00:00
Stephen Colebourne 7af9515a22 Fix deprecation by referencing the correct BinaryHeap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131403 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 14:39:42 +00:00
Stephen Colebourne 165764ef73 Add unmodifiable BidiMap decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131402 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 14:03:35 +00:00
Stephen Colebourne ffc9ebb3c6 Fix tests to support unmodifiable test cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131401 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 14:02:49 +00:00
Stephen Colebourne 66ca5337e6 Add unmodifiable BidiMap decorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131400 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 12:59:37 +00:00
Stephen Colebourne 7a58d2f1b8 Update and make consistent the Unmodifiable decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131399 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 12:27:37 +00:00
Stephen Colebourne aae1dcdb92 Improve package html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131398 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 12:23:19 +00:00
Stephen Colebourne 3c5ad2e9ae Use the Unmodifiable decorators everywhere
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131397 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 11:37:44 +00:00
Stephen Colebourne 1064cdbedb Update and make consistent the Unmodifiable decorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131396 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 11:19:10 +00:00
Stephen Colebourne 39a29b486d File layout
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131395 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 11:17:36 +00:00
Stephen Colebourne 75443cb0fd Update the associated package html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131394 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 01:05:31 +00:00
Stephen Colebourne c87c643b08 Optimise the remove method on a bag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131393 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 01:02:32 +00:00
Stephen Colebourne fc487af406 Make new Bag implementations Serializable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131392 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 00:49:38 +00:00
Stephen Colebourne 2e14c5efe8 Rename AMap to IterableMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131391 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 23:51:50 +00:00
Stephen Colebourne 5457921e7e Update the associated package html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131389 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 23:39:48 +00:00
Stephen Colebourne ae8ad94a24 Add new faster Bag implementations in bag subpackage
Deprecate originals in main package


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131388 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 23:36:12 +00:00
Stephen Colebourne b67ef9b935 Add IdentityMap implementation for reference comparisons
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131387 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 21:57:08 +00:00
Stephen Colebourne 145e6c8a33 Fix bug in error message text
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131386 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 21:56:34 +00:00
Stephen Colebourne cb78386402 Comment out tests that fail for the moment - race condition
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131385 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 00:44:13 +00:00
Stephen Colebourne d5da5df231 Fix method scopes
Fix bug in HashEntry


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131384 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 00:37:11 +00:00
Stephen Colebourne b473a5d290 Move iterator interfaces to main package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131383 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 22:49:00 +00:00
Stephen Colebourne 3ee53ef957 Move map interfaces to main package
Add AMap interface
Add HashedMap implementation


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131380 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 22:34:55 +00:00
Stephen Colebourne e078c03320 Update package overview to reflect class move
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131379 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 22:05:14 +00:00
Stephen Colebourne b1437124f8 Refactor BoundedCollection interface to main package
All interfaces should be in main package


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131378 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 18:14:20 +00:00
Stephen Colebourne 52da69630a Deprecate now BidiMap package up and running
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131377 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 18:05:39 +00:00
Stephen Colebourne ac0e661a18 Refactor Buffer implementations to buffer subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131376 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 18:04:57 +00:00
Stephen Colebourne 0ef38d17d9 Fix deprecation comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131375 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 17:26:21 +00:00
Stephen Colebourne 921ce7e575 Improve test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131374 13f79535-47bb-0310-9956-ffa450edef68
2003-11-27 23:57:09 +00:00
Stephen Colebourne fb9ab16883 Deprecate observable implementation, as it is moved to the sandbox
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131373 13f79535-47bb-0310-9956-ffa450edef68
2003-11-27 22:55:16 +00:00