commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-470) Add containsAll methods to ArrayUtils
Date Fri, 10 Jul 2009 07:02:15 GMT

    [ 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.


Mime
View raw message