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 2009/07/10 09:02:15 UTC

[jira] Commented: (LANG-470) Add containsAll methods to ArrayUtils

    [ https://issues.apache.org/jira/browse/LANG-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729549#action_12729549 ] 

Henri Yandell commented on LANG-470:
------------------------------------

Thanks for the patch Hasan. 

The patch has array1 and array2 backwards I think. It should be array2 in array1, rather than array1 in array2. 

Need to decide what containsAll( array, null ) would mean. Is that a true? If it is, what does containsAll( null, null ) mean?

Also need to add some tests. 

> Add containsAll methods to ArrayUtils
> -------------------------------------
>
>                 Key: LANG-470
>                 URL: https://issues.apache.org/jira/browse/LANG-470
>             Project: Commons Lang
>          Issue Type: New Feature
>    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.