[jira] Commented: (COLLECTIONS-194) Add populateMap() methods to MapUtils

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (COLLECTIONS-194) Add populateMap() methods to MapUtils

AD_LB (Jira)

    [ https://issues.apache.org/jira/browse/COLLECTIONS-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552589 ]

Stephen Kestle commented on COLLECTIONS-194:
--------------------------------------------

And I think the normal collections behaviour is to throw NPE's on null parameters.

Also to be implemented is call through from CollectionUtils.toMap(Collection, Transformer [, Transformer]).

> Add populateMap() methods to MapUtils
> -------------------------------------
>
>                 Key: COLLECTIONS-194
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-194
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Map
>         Environment: Operating System: All
> Platform: All
>            Reporter: James Carman
>            Priority: Minor
>             Fix For: 3.3
>
>         Attachments: COLLECTIONS-192.patch
>
>
> Add the following methods to MapUtils...
> public static void populateMap( Map map, Collection objects, Transformer
> keyTransformer );
> public static void populateMap( Map map, Collection objects, Transformer
> keyTransformer, Transformer valueTransformer );

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Commented: (COLLECTIONS-194) Add populateMap() methods to MapUtils

Stephen Kestle
And sorry about the lack of progress guys.  I have Christmas summer
break coming up here, and so should hopefully get these patches in (and
some other bits and pieces).

Now we just need someone to organise a nighly build... anybody know what
to do there?

Cheers

stephen

Stephen Kestle (JIRA) wrote:

>     [ https://issues.apache.org/jira/browse/COLLECTIONS-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552589 ]
>
> Stephen Kestle commented on COLLECTIONS-194:
> --------------------------------------------
>
> And I think the normal collections behaviour is to throw NPE's on null parameters.
>
> Also to be implemented is call through from CollectionUtils.toMap(Collection, Transformer [, Transformer]).
>
>  
>> Add populateMap() methods to MapUtils
>> -------------------------------------
>>
>>                 Key: COLLECTIONS-194
>>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-194
>>             Project: Commons Collections
>>          Issue Type: Improvement
>>          Components: Map
>>         Environment: Operating System: All
>> Platform: All
>>            Reporter: James Carman
>>            Priority: Minor
>>             Fix For: 3.3
>>
>>         Attachments: COLLECTIONS-192.patch
>>
>>
>> Add the following methods to MapUtils...
>> public static void populateMap( Map map, Collection objects, Transformer
>> keyTransformer );
>> public static void populateMap( Map map, Collection objects, Transformer
>> keyTransformer, Transformer valueTransformer );
>>    
>
>  

--
------------------------------------------------------------------------
* <http://www.orionhealth.com>*
       
       

*Stephen Kestle Software Engineer*
[hidden email] <mailto:[hidden email]>
P: +64 9 638 0619
M: +64 27 453 7853
F: +64 9 638 0699
S: skestle <callto:skestle>
www.orionhealth.com <http://www.orionhealth.com>


This e-mail and any attachments are intended only for the person to whom
it is addressed and may contain privileged, proprietary, or other data
protected from disclosure under applicable law. If you are not the
addressee or the person responsible for delivering this to the addressee
you are hereby notified that reading, copying or distributing this
transmission is prohibited. If you have received this e-mail in error,
please telephone us immediately and remove all copies of it from your
system. Thank you for your co-operation.