You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2010/01/09 11:31:54 UTC
[jira] Closed: (LANG-470) Add containsAll methods to ArrayUtils
[ https://issues.apache.org/jira/browse/LANG-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-470.
------------------------------
Resolution: Won't Fix
Closing as WONTFIX.
Too easy to do:
new HashSet<Integer>(Arrays.asList(array1)).containsAll(Arrays.asList(array2))
Primitives aren't supported, but I think the solution there would be to turn to a primitive handling Set class.
> Add containsAll methods to ArrayUtils
> -------------------------------------
>
> Key: LANG-470
> URL: https://issues.apache.org/jira/browse/LANG-470
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Affects Versions: 2.4
> Reporter: Maarten Coene
> Fix For: 3.0
>
> Attachments: ArrayUtilsContainsAll.pat
>
>
> The ArrayUtils class contains several "contains" methods.
> It could be usefull to add the corresponding containsAll(Object[] array1, Object[] array2) methods (and corresponding for primitive types).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.