You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/06/03 10:30:45 UTC

DO NOT REPLY [Bug 9573] New: - MultiHashMap.values() isn't backed by Map

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9573>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9573

MultiHashMap.values() isn't backed by Map

           Summary: MultiHashMap.values() isn't backed by Map
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Collections
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: pjack@sfaf.org


The values() collection of MultiHashMap isn't backed by the map; changes to the 
map are not reflected in a values() collection, and changes to the values() 
collection are not reflected in the map.  

Though MultiHashMap deliberately violates the Map contract in other ways, there 
seems to be no legimate reason for it to violate the values() contract; since 
values() can be implemented according to contract, it probably should be.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>