public char detectIfNone(CharPredicate predicate, char ifNone) { return StringIterate.detectCharIfNone(this.adapted, predicate, ifNone); }
/** * Find the first element that returns true for the specified {@code predicate}. Return the default char if * no value is found. * * @deprecated since 7.0. Use {@link #detectCharIfNone(String, CharPredicate, char)} instead. */ @Deprecated public static Character detectIfNone(String string, CharPredicate predicate, char resultIfNone) { return StringIterate.detectCharIfNone(string, predicate, resultIfNone); }
/** * Find the first element that returns true for the specified {@code predicate}. Return the first char of the * default string if no value is found. * * @deprecated since 7.0. Use {@link #detectCharIfNone(String, CharPredicate, String)} instead. */ @Deprecated public static Character detectIfNone(String string, CharPredicate predicate, String resultIfNone) { return StringIterate.detectCharIfNone(string, predicate, resultIfNone); }
public char detectIfNone(CharPredicate predicate, char ifNone) { return StringIterate.detectCharIfNone(this.adapted, predicate, ifNone); }
/** * Find the first element that returns true for the specified {@code predicate}. Return the default char if * no value is found. * * @deprecated since 7.0. Use {@link #detectCharIfNone(String, CharPredicate, char)} instead. */ @Deprecated public static Character detectIfNone(String string, CharPredicate predicate, char resultIfNone) { return StringIterate.detectCharIfNone(string, predicate, resultIfNone); }
/** * Find the first element that returns true for the specified {@code predicate}. Return the first char of the * default string if no value is found. * * @deprecated since 7.0. Use {@link #detectCharIfNone(String, CharPredicate, String)} instead. */ @Deprecated public static Character detectIfNone(String string, CharPredicate predicate, String resultIfNone) { return StringIterate.detectCharIfNone(string, predicate, resultIfNone); }