1011 Commits

Author SHA1 Message Date
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