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:
[email protected]


With regards,
Apache Git Services

Reply via email to