public static boolean anySatisfyChar(String string, CharPredicate predicate)
    {
        int size = string.length();
        for (int i = 0; i < size; i++)
        {
            if (predicate.accept(string.charAt(i)))
            {
                return true;
            }
        }
        return false;
    }
public static boolean anySatisfyChar ( String string , CharPredicate predicate ) { int size = string . length ( ) ; for ( int i = 0 ; i < size ; i ++ ) { if ( predicate . accept ( string . charAt ( i ) ) ) { return true ; } } return false ; }
@return true if any of the characters in the {@code string} answer true for the specified {@code predicate}.
@since 7.0