You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/01/02 22:56:00 UTC
[jira] [Resolved] (COLLECTIONS-668) Add CollectionUtils containsAny
method for primitive array:
org.apache.commons.collections4.CollectionUtils.containsAny(Collection>,
T...)
[ https://issues.apache.org/jira/browse/COLLECTIONS-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved COLLECTIONS-668.
--------------------------------------
Resolution: Fixed
Fix Version/s: 4.2
The new method {{org.apache.commons.collections4.CollectionUtils.containsAny(Collection<?>, T...)}} is in git master. Please verify and close this ticket.
> Add CollectionUtils containsAny method for primitive array: org.apache.commons.collections4.CollectionUtils.containsAny(Collection<?>, T...)
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: COLLECTIONS-668
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-668
> Project: Commons Collections
> Issue Type: New Feature
> Components: Collection
> Affects Versions: 4.2
> Reporter: BELUGA BEHR
> Priority: Minor
> Fix For: 4.2
>
>
> Nice to add a CollectionUtils#containsAny which takes a Collection and a primitive array as an option. Loop through every array item and check for existence within the Collection.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)