Commit Graph

1281 Commits

Author SHA1 Message Date
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 2d1415ed14 Separate releases from commons-build
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131627 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 22:40:00 +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 bf7244b7c4 Change files to binary
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131613 13f79535-47bb-0310-9956-ffa450edef68
2004-03-31 21:45:09 +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 90e7aafdc5 Close file created in constructor
bug 27737


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131610 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 21:14:10 +00:00
Stephen Colebourne 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
Mark R. Diggory 5ecf769b32 Switching to usage of menu's dtd to insert commons navigation items, using common-menus entity to reference commons menues in navigation.xml, sorting is done by Maven.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131599 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 03:27:48 +00:00
Stephen Colebourne 6eacac77dc Extend super project xml more properly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131598 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 00:14:14 +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 227cb6a4a1 Start building release notes for 3.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131595 13f79535-47bb-0310-9956-ffa450edef68
2004-02-27 00:22:09 +00:00
Stephen Colebourne 34c19673f2 Change to Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131594 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 21:41:04 +00:00
Stephen Colebourne 730ad02d0e Add notice to builds
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131593 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 21:27:52 +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
Henri Yandell f04376ca51 proposal html translated to xml via script and fixing of html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131591 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 09:52:30 +00:00