[
https://issues.apache.org/jira/browse/LANG-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Hristov updated LANG-883:
------------------------------
Description: Presently there is a: public static boolean
containsAny(CharSequence cs, char... searchChars). It would be useful to have
the: public static boolean containsAny(CharSequence cs, CharSequence...
searchCharSequences) which will return true if any of the searchCharSequences
are contained within the cs. If you decide to implement it, it would be nice to
have an alias method for collections, e.g., public static boolean
containsAny(CharSequence cs, Collection<CharSequence> searchCharSequences)
(was: Presently there is a: public static boolean containsAny(CharSequence cs,
char... searchChars). It would be useful to have the: public static boolean
containsAny(CharSequence cs, CharSequence... searchCharSequences) which will
return true if any of the searchCharSequences are contained within the cs.)
> StringUtils.containsAny(CharSequence, CharSequence... )
> -------------------------------------------------------
>
> Key: LANG-883
> URL: https://issues.apache.org/jira/browse/LANG-883
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Affects Versions: 3.1
> Reporter: Ivan Hristov
> Priority: Trivial
>
> Presently there is a: public static boolean containsAny(CharSequence cs,
> char... searchChars). It would be useful to have the: public static boolean
> containsAny(CharSequence cs, CharSequence... searchCharSequences) which will
> return true if any of the searchCharSequences are contained within the cs. If
> you decide to implement it, it would be nice to have an alias method for
> collections, e.g., public static boolean containsAny(CharSequence cs,
> Collection<CharSequence> searchCharSequences)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira