You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2015/11/27 22:48:13 UTC

[jira] [Closed] (COLLECTIONS-430) Create static factory methods for concrete data structure impls in the corresponding Utils classes

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

Thomas Neidhart closed COLLECTIONS-430.
---------------------------------------

> 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
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)