You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-dev@xml.apache.org by ji...@apache.org on 2004/02/10 02:47:52 UTC

[jira] Created: (XMLBEANS-20) JDK 1.3.1 backport: 1.4 Collections classes should be replaced with 1.3-compliant versions

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=XMLBEANS-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-20
    Summary: JDK 1.3.1 backport: 1.4 Collections classes should be replaced with 1.3-compliant versions
       Type: Improvement

     Status: Unassigned
   Priority: Major

    Project: XMLBeans
   Versions:
             Version 1

   Assignee: 
   Reporter: Matt Bishop

    Created: Mon, 9 Feb 2004 5:46 PM
    Updated: Mon, 9 Feb 2004 5:46 PM

Description:
After looking at various implementations of the 1.4 Collections classes, it looks like jakarta commons-collections has the most going for it--same functionality, well-tested, compatible license.

The downside is the extra jar--there were too many dependencies to rip out just the classes we need, it quickly lost it's value.  The jar itself is 508k.

This is the gist of the changes:

** java.util.IdentityHashMap -> collections.IdentityMap - Same functionality, both for keys and values wrt equality testing.  Same perf.

** java.util.LinkedHashMap -> collections.LinkedMap - Same functionality and perf.

** java.util.LinkedHashSet -> collections.ListOrderedSet.decorate(new HashSet) - Same functionality and perf.

collections.jar/license.txt live in external/lib and are moved to build/ar/ during the build and dist processes.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/