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 Thu, 26 Nov 2009 09:38:39 GMT

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

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

Still unsure how to handle edge cases.

This is effectively a set method on arrays, so I'm thinking more in the direction of adding
a Set<T> ArrayUtils.toSet(T[]) method. It would mean a, potentially non-public, ArraySet
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
>    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