[ 
https://issues.apache.org/jira/browse/COLLECTIONS-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307101#comment-16307101
 ] 

Gary Gregory commented on COLLECTIONS-668:
------------------------------------------

Could this encourage bad practices as opposed to sorting and binary searching 
using Collections.sort() and binarySearch()?



> CollectionUtils Contains Any Method for Primitive Array
> -------------------------------------------------------
>
>                 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
>
> 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)

Reply via email to