private static boolean isWhitespace(String string) { return StringIterate.allSatisfyCodePoint(string, CodePointPredicate.IS_WHITESPACE); }
/** * @return true if all of the code points in the {@code string} answer true for the specified {@code predicate}. * * @deprecated since 7.0. Use {@link #allSatisfyCodePoint(String, CodePointPredicate)} instead. */ @Deprecated public static boolean allSatisfy(String string, CodePointPredicate predicate) { return StringIterate.allSatisfyCodePoint(string, predicate); }
private static boolean charactersSatisfy(String string, CodePointPredicate predicate) { return !"".equals(string) && StringIterate.allSatisfyCodePoint(string, predicate); }
private static boolean isWhitespace(String string) { return StringIterate.allSatisfyCodePoint(string, CodePointPredicate.IS_WHITESPACE); }
/** * @return true if all of the code points in the {@code string} answer true for the specified {@code predicate}. * * @deprecated since 7.0. Use {@link #allSatisfyCodePoint(String, CodePointPredicate)} instead. */ @Deprecated public static boolean allSatisfy(String string, CodePointPredicate predicate) { return StringIterate.allSatisfyCodePoint(string, predicate); }
private static boolean charactersSatisfy(String string, CodePointPredicate predicate) { return !"".equals(string) && StringIterate.allSatisfyCodePoint(string, predicate); }