@Deprecated
    public static int count(String string, CharPredicate predicate)
    {
        return StringIterate.countChar(string, predicate);
    }
@ Deprecated public static int count ( String string , CharPredicate predicate ) { return StringIterate . countChar ( string , predicate ) ; }
Count the number of elements that return true for the specified {@code predicate}.

@deprecated since 7.0. Use {@link #countChar(String, CharPredicate)} instead.