commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [commons-collections] dota17 opened a new pull request #110: [COLLECTIONS-663] Update AbstractMultiValuedMap asMap()
Date Wed, 06 Nov 2019 07:23:35 GMT
dota17 opened a new pull request #110:  [COLLECTIONS-663] Update AbstractMultiValuedMap asMap()
URL: https://github.com/apache/commons-collections/pull/110
 
 
   [COLLECTIONS-663] https://issues.apache.org/jira/browse/COLLECTIONS-663
   Hi:
   I think the representation of Multimap is {1: A, 1: B, 2: C}. So when A and B are deleted,
only {2: C} is left. And asMap() method  returns a map in the form of {1:[A, B], 2:[C]}.
In this map, {1:[], 2:[C]} is left when A and B are deleted. So wrappedCollection(key) should
not be used。 It willl show as {1: A, 1: B, 2: C} when wrappedCollection(key) is used, and
the asMap() method does not make sense.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message