You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Nathan Blomquist (JIRA)" <ji...@apache.org> on 2007/06/26 16:40:26 UTC

[jira] Created: (COLLECTIONS-258) DualLinkedHashBidiMap

DualLinkedHashBidiMap
---------------------

                 Key: COLLECTIONS-258
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-258
             Project: Commons Collections
          Issue Type: New Feature
          Components: BidiMap
            Reporter: Nathan Blomquist
            Priority: Trivial


I recently needed a BidiMap that also maintained an insertion iteration order.  I didn't find one in Commons Collections, but I did find a good framework for the creation of one.

I basically took the code from DualHashBidiMap and changed all the references from HashMap to LinkedHashMap.  This made it trivial to create.

Thanks for the great package!


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (COLLECTIONS-258) DualLinkedHashBidiMap

Posted by "Nathan Blomquist (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Blomquist updated COLLECTIONS-258:
-----------------------------------------

    Attachment: DualLinkedHashBidiMap.java

This is the actual implementation.  Based off of the original DualHashBidiMap.java from Collections 3.1 or 3.2.

> DualLinkedHashBidiMap
> ---------------------
>
>                 Key: COLLECTIONS-258
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-258
>             Project: Commons Collections
>          Issue Type: New Feature
>          Components: BidiMap
>            Reporter: Nathan Blomquist
>            Priority: Trivial
>         Attachments: DualLinkedHashBidiMap.java
>
>
> I recently needed a BidiMap that also maintained an insertion iteration order.  I didn't find one in Commons Collections, but I did find a good framework for the creation of one.
> I basically took the code from DualHashBidiMap and changed all the references from HashMap to LinkedHashMap.  This made it trivial to create.
> Thanks for the great package!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org