Commit Graph

1248 Commits

Author SHA1 Message Date
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
Stephen Colebourne 84f48d54e1 Refactor functors from inner classes to subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131371 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 23:25:33 +00:00
Stephen Colebourne ab2b44981c Refactor functors from inner classes to subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131370 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 22:05:24 +00:00
Stephen Colebourne 29e4020d3f Refactor functors from inner classes to subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131369 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 19:11:21 +00:00
Stephen Colebourne c63ea40c90 Refactor functors from inner classes to subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131368 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 17:48:20 +00:00
Stephen Colebourne 3c81ef8c39 Refactor functors from inner classes to subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131367 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 17:01:36 +00:00
Stephen Colebourne cc4a7e8a16 Add functors subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131366 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 14:41:27 +00:00
Stephen Colebourne 8e201c426b Javdoc link fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131365 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 14:40:41 +00:00
Stephen Colebourne 87da39f9cc Complete unmodifiable map implementations and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131363 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 22:35:50 +00:00
Stephen Colebourne 5a0b3842e4 Add abstract test class for OrderedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131362 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 22:34:49 +00:00
Stephen Colebourne 685b0bfe61 Add new decorator abstract class for OrderedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131361 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 22:33:54 +00:00
Stephen Colebourne 6c62213afb Add abstract decorator for OrderedMapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131360 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 21:53:58 +00:00
Stephen Colebourne 71488d1022 Fix to return correct interface type from factory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131359 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 21:46:41 +00:00
Stephen Colebourne 8f1bdde3d7 Add UnmodifiableOrderedMapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131358 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 21:45:35 +00:00
Stephen Colebourne fe3315d3c0 Improve ordered map iterator tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131357 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 21:44:58 +00:00
Stephen Colebourne 257ef4a6d4 Better testing of MapIterators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131356 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 00:31:42 +00:00
Stephen Colebourne 367f8710b0 Make ListOrderedMap implement OrderedMap
Improve associated tests


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131355 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 00:03:06 +00:00
Stephen Colebourne 40e444a3e8 Fix toString on MapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131354 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 23:58:11 +00:00
Stephen Colebourne f32272a4e5 Add mapIterator() to OrderedMapIterator until IterableMap interface created
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131353 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 23:57:51 +00:00
Stephen Colebourne 8a93f7c452 Fix puAll method to return correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131352 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 23:34:47 +00:00
Stephen Colebourne 473cba8ee3 Move Flat3Map to map subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131351 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 23:23:05 +00:00
Stephen Colebourne 92450f8141 Move BoundedCollection to new collection subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131350 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 22:51:19 +00:00
Stephen Colebourne 6bf2ec4c86 Convert protected methods to public to handle VerifyError
(due to inner classes being unable to see protected methods from another package)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131349 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 22:37:18 +00:00
Stephen Colebourne bf2681bc5b Report more helpfully when errors occur
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131348 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 21:28:16 +00:00
Stephen Colebourne 8b313fecf6 Refactor tests to interface based subpackages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131347 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 22:15:12 +00:00
Stephen Colebourne 9ccb68523b Rework build script for new test classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131346 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 21:39:42 +00:00
Stephen Colebourne fc74d8d13d Refactor bidimap to interface based subpackage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131345 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 20:35:47 +00:00
Stephen Colebourne 1b8c22a7df Refactor decorators to interface based subpackages
(Deprecate decorators subpackage)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131344 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 00:39:37 +00:00
Stephen Colebourne 335945a34d Refactor decorators to interface based subpackages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131343 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 00:05:48 +00:00
Stephen Colebourne 1057e36acf Update iterators to be more stadard decorator design
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131342 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 23:50:46 +00:00
Stephen Colebourne 9bc0e82584 Rename ResetableIterator to ResettableIterator
Remove Map and Ordered variants to avoid too many classes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131341 13f79535-47bb-0310-9956-ffa450edef68
2003-11-14 22:58:27 +00:00
Stephen Colebourne 6941ba1b29 Add OrderedIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131340 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 19:26:29 +00:00
Stephen Colebourne 30a04d30ce Add TreeBidiMap implementation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131339 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:52:51 +00:00
Stephen Colebourne b43554de6a Update MapIterator to remove asMapEntry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131338 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:49:06 +00:00
Stephen Colebourne 0b990513ea Update tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131337 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:47:38 +00:00
Stephen Colebourne 533ad6c843 Update MapIterator to remove asMapEntry
Add OrderedMapIterator
Rename DefaultMapIterator


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131336 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:43:13 +00:00
Stephen Colebourne 64f3f8e11b Rename BidiMap removeKey to removeValue
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131335 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:40:17 +00:00
Stephen Colebourne c34bf0a54c No change
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131334 13f79535-47bb-0310-9956-ffa450edef68
2003-11-08 18:38:27 +00:00
Rodney Waldhoff 0615ee2d58 deprecate stuff moved to and released from commons-primitives
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131333 13f79535-47bb-0310-9956-ffa450edef68
2003-11-07 20:17:13 +00:00
Rodney Waldhoff f77526c9b1 deprecate stuff moved to and released from commons-primitives
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131332 13f79535-47bb-0310-9956-ffa450edef68
2003-11-07 17:24:13 +00:00
Phil Steitz 715e28309f Added CompositeCollection and tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131330 13f79535-47bb-0310-9956-ffa450edef68
2003-11-07 02:10:13 +00:00
Stephen Colebourne 5419c63de8 Complete OrderedMap with MapIterator
Ensure fully tested


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131329 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 23:36:23 +00:00
Stephen Colebourne 7e42e5fed7 Avoid infinite loop in test framework
Simplify error messges


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131328 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 23:35:35 +00:00
Stephen Colebourne 99fdf11f8a Better error message
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131327 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 23:34:46 +00:00
Stephen Colebourne 429c850d43 Add basic performance test shell for testing maps
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131326 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 23:43:00 +00:00
Stephen Colebourne c72a7267db Add Flat3Map, a new map design for small Maps that is faster than HashMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131325 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 23:41:46 +00:00
Stephen Colebourne 37e9c49744 Add a default MapIterator implementation that wraps a Map entrySet
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131324 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 23:40:53 +00:00
Stephen Colebourne 559db22fc2 Integrate new MapIterator tests into DualBidiMap tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131322 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 19:48:39 +00:00
Stephen Colebourne 1bec2d62d7 Enable iterator testing to better integrate with collection/map tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131321 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 19:47:10 +00:00
Stephen Colebourne 792b248c3c Add TiedMapEntry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131320 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 19:45:48 +00:00
Stephen Colebourne 7040e31845 Remove [ ] from toString
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131319 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 19:44:37 +00:00
Stephen Colebourne 623af3b79d Add UnmodifiableMapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131318 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 18:29:59 +00:00
Stephen Colebourne b4f545f3f3 Correct errors in testing exceptions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131317 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 18:29:33 +00:00
Stephen Colebourne 60fcc4fb8d Add UnmodifiableIterator classes to iterators package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131316 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 17:26:36 +00:00
Stephen Colebourne e1f52a4797 Add UnmodifiableMapEntry
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131315 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 17:06:59 +00:00
Stephen Colebourne c4b3f3ad02 Marker interface for unmodifiable collections/maps/iterators/pairs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131314 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 17:05:50 +00:00
Stephen Colebourne 4b084fad6e Refactor ProxyIterators to AbstractDecorators
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131313 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 16:29:12 +00:00
Stephen Colebourne d3248e3613 Organize imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131312 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 16:21:16 +00:00
Stephen Colebourne ac2fee8845 More work around the MapIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131311 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 15:27:54 +00:00
Stephen Colebourne 3ec38d1ba2 Clearer test error messages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131310 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 15:27:05 +00:00
Stephen Colebourne be74e690e0 Add extra tests for maps
Make the tests pass


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131309 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 18:47:18 +00:00
Stephen Colebourne 5acf38c49a Document the existence of the new DualHashBidiMap/DualTreeBidiMap classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131308 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 18:45:48 +00:00
Stephen Colebourne 869d20576b Add DualTreeBidiMap implementation and tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131307 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:26:25 +00:00
Stephen Colebourne 27a00be12e Add a lot of tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131306 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:25:45 +00:00
Stephen Colebourne 2029f95ea2 Ensure that values returned are in same order as keys
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131305 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:25:24 +00:00
Stephen Colebourne 27a4c25922 Allow subclasses to change the confirmed map
Ensure views pickup correct serialization methods


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131304 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:24:32 +00:00
Stephen Colebourne 165f6f675a Improve error messages in verify
Fix bug when TreeMap EntrySet used


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131303 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 01:23:10 +00:00
Stephen Colebourne c0968cfcee Fix problem where views were being incorrectly created
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131302 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 23:49:18 +00:00
Gary D. Gregory 2e53e15a14 Unnecessary semicolons.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131301 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 23:21:39 +00:00
Stephen Colebourne eda112cfac Add MapIterator to BidiMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131300 13f79535-47bb-0310-9956-ffa450edef68
2003-10-29 00:06:25 +00:00
Gary D. Gregory fd398f99d8 Integrate TestEnumerationUtils into test suite.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131299 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 18:56:12 +00:00
Gary D. Gregory d7b20360c5 New class EnumerationUtils.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131298 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 18:48:10 +00:00
Gary D. Gregory a49995ec8f Javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131297 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 02:44:51 +00:00
Stephen Colebourne 7b2c75144d Handle testing data of size 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131292 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 22:58:28 +00:00
Stephen Colebourne 3441c43924 Better test error messages
Handle small test collections


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131291 13f79535-47bb-0310-9956-ffa450edef68
2003-10-19 00:25:11 +00:00
Phil Steitz 76c1efb61c javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131289 13f79535-47bb-0310-9956-ffa450edef68
2003-10-16 06:04:56 +00:00
Stephen Colebourne 3da5b8508b Change class from final to non-final
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131288 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 18:06:41 +00:00
Stephen Colebourne 594977c2f2 Tidy code and Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131287 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 18:05:42 +00:00
Stephen Colebourne a1e36e8823 Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131286 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 21:18:56 +00:00
Phil Steitz e614a8f803 javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131285 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 02:49:40 +00:00
Phil Steitz 83401f530a Added more decorator tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131284 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 02:48:16 +00:00
Phil Steitz cf4a4761aa Added TestPredicatedSortedSet.
Added first() and last() checks to AbstractTestSortedSet verify.
Modified TestTransformedSortedSet and TestObservedSortedSet to use BulkTest.makeSuite.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131283 13f79535-47bb-0310-9956-ffa450edef68
2003-10-12 06:37:30 +00:00
Stephen Colebourne dea6e42a7c Fix various javadoc link warnings
bug 23680, from Eric Johnson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131282 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:19:39 +00:00
Stephen Colebourne 2092e39906 Rename TestBidiMap to AbstractTestBidiMap to promote to testframework jar
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131279 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:11:54 +00:00
Stephen Colebourne 1544a5daa0 Ensure that remove works correctly on views
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131278 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:09:49 +00:00
Stephen Colebourne 6526be25d1 Fix tests to work properly on inverse map
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131277 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:09:27 +00:00
Stephen Colebourne 1557ede997 Ensure null status is passed to view bulk tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131276 13f79535-47bb-0310-9956-ffa450edef68
2003-10-10 21:08:26 +00:00