commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radford Tam (JIRA)" <>
Subject [jira] [Commented] (COLLECTIONS-356) Request for a Many-to-Many BidiMap
Date Sun, 24 Nov 2013 16:02:35 GMT


Radford Tam commented on COLLECTIONS-356:

Yes, I've been considering this. I've already had to override much of the test code for BidiMap
while writing the unit test, because a lot of it assumes the one-to-one relationship.

Let me think more on it.

> Request for a Many-to-Many BidiMap
> ----------------------------------
>                 Key: COLLECTIONS-356
>                 URL:
>             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 was sent by Atlassian JIRA

View raw message