[
https://issues.apache.org/jira/browse/COLLECTIONS-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610728#action_12610728
]
Michael commented on COLLECTIONS-301:
-------------------------------------
Henri,
I re-read java.util.Map and there is no such information whatsoever. Do you
have any link proving this actually?
If you are 100 % sure, this is great news for me and this ticket can be closed.
> Provide SingleValueMap
> ----------------------
>
> Key: COLLECTIONS-301
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-301
> Project: Commons Collections
> Issue Type: New Feature
> Components: Map
> Affects Versions: 3.2
> Reporter: Michael
>
> I miss an efficient implementation of a SingleValueMap.
> The idea goes as follows:
> Map<String, String> map = new SingleValueMap<String, String>();
> map.put("hello","greeting");
> map.put("hola","greeting");
> map.put("hallo",greeting");
> a normal map would now hold three copies of "greeting". A SingleValueMap
> would contain only one copy of this value. All keys would map to one copy,
> identically to a N:1 relaton.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.