commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COLLECTIONS-356) Request for a Many-to-Many BidiMap
Date Wed, 15 May 2013 21:05:27 GMT

    [ https://issues.apache.org/jira/browse/COLLECTIONS-356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658820#comment-13658820
] 

Thomas Neidhart commented on COLLECTIONS-356:
---------------------------------------------

Should be feasible with two MultiValueMaps, patches welcome!
                
> Request for a Many-to-Many BidiMap
> ----------------------------------
>
>                 Key: COLLECTIONS-356
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-356
>             Project: Commons Collections
>          Issue Type: New Feature
>          Components: Collection
>            Reporter: Franz Wong
>            Priority: Minor
>             Fix For: 4.x
>
>
> Currently, BidiMap supports one to one relationship. However, in real life, there are
many many-to-many relationships. Take an example of student and course. One student can take
many courses while one course contain many students. It would be useful to have a class to
manipulate such situation.
> The work around currently is using 2 hash maps.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message