[dna-issues] [JBoss JIRA] Assigned: (DNA-226) Value factories should have a create method that takes an un-typed iterable and returns a typed iterable

Johnny Verhaeg (JIRA) jira-events at lists.jboss.org
Wed Sep 17 16:08:31 EDT 2008


     [ https://jira.jboss.org/jira/browse/DNA-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnny Verhaeg reassigned DNA-226:
----------------------------------

    Assignee: Johnny Verhaeg


> Value factories should have a create method that takes an un-typed iterable and returns a typed iterable
> --------------------------------------------------------------------------------------------------------
>
>                 Key: DNA-226
>                 URL: https://jira.jboss.org/jira/browse/DNA-226
>             Project: DNA
>          Issue Type: Feature Request
>          Components: SPI
>    Affects Versions: 0.1
>            Reporter: Johnny Verhaeg
>            Assignee: Johnny Verhaeg
>             Fix For: 0.2
>
>
> This enables the use of the for shorthand.  For example:
>       Property property = ...
>       ExecutionContext executionContext = ...
>       ValueFactory<String> stringFactory = executionContext.getValueFactories().getStringFactory();
>       for (String token : stringFactory.create(property)) {
>           ...
>       }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the dna-issues mailing list