RE: [collections] CollectionUtils.getCardinalityMap JavaDoc

2003-09-08 Thread Arun Thomas
Bogucki [mailto:[EMAIL PROTECTED] Sent: Saturday, September 06, 2003 6:36 PM To: Jakarta Commons Developers List Subject: [collections] CollectionUtils.getCardinalityMap JavaDoc In CollectionUtils.getCardinalityMap the documentation notes the meaning of an entry that maps to null but I don't

RE: [collections] CollectionUtils.getCardinalityMap JavaDoc

2003-09-08 Thread Janek Bogucki
On Mon, 2003-09-08 at 16:08, Arun Thomas wrote: I'm not sure if it makes sense to call it an entry that maps to null but consider that the the cardinal map returned by this function will be accessed in the following manner: Integer x = returnedMap.get(obj); That statement may just be

Re: [collections] CollectionUtils.getCardinalityMap JavaDoc

2003-09-07 Thread Stephen Colebourne
Your logic makes sense to me ;-) Stephen - Original Message - From: Janek Bogucki [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Sunday, September 07, 2003 2:35 AM Subject: [collections] CollectionUtils.getCardinalityMap JavaDoc

[collections] CollectionUtils.getCardinalityMap JavaDoc

2003-09-06 Thread Janek Bogucki
In CollectionUtils.getCardinalityMap the documentation notes the meaning of an entry that maps to null but I don't see how any such entry can exist in the returned map as all the keys in the map come from the collection parameter and will map to =1. Have I missed something? From