commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9573] New: - MultiHashMap.values() isn't backed by Map
Date Mon, 03 Jun 2002 08:30:45 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message