commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COLLECTIONS-430) Create static factory methods for concrete data structure impls in the corresponding Utils classes
Date Sun, 17 Mar 2013 19:47:14 GMT

     [ https://issues.apache.org/jira/browse/COLLECTIONS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Neidhart updated COLLECTIONS-430:
----------------------------------------

    Fix Version/s: 4.0
    
> Create static factory methods for concrete data structure impls in the corresponding
Utils classes
> --------------------------------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-430
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-430
>             Project: Commons Collections
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Thomas Neidhart
>             Fix For: 4.0
>
>
> It is quite tedious to write code like this:
> {noformat}
>   BidiMap<String, String> map = new DualHashBidiMap<String, String>();
> {noformat}
> a more convenient way would be to take advantage from type inference like this:
> {noformat}
>   BidiMap<String, String> map = MapUtils.newHashBidiMap();
> {noformat}
> This would apply basically for all data structures that are available in CC atm.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message