public interface CharPredicate extends IntPredicate
| Modifier and Type | Field and Description |
|---|---|
static CharPredicate |
ALL |
static CharPredicate |
ANY_EOL |
static CharPredicate |
ANY_EOL_NUL |
static CharPredicate |
BACKSLASH |
static CharPredicate |
BINARY_DIGITS |
static CharPredicate |
DECIMAL_DIGITS |
static CharPredicate |
EOL |
static CharPredicate |
FALSE
Deprecated.
|
static CharPredicate |
HASH |
static CharPredicate |
HEXADECIMAL_DIGITS |
static CharPredicate |
LINE_SEP |
static CharPredicate |
NONE |
static CharPredicate |
OCTAL_DIGITS |
static CharPredicate |
SLASH |
static CharPredicate |
SPACE |
static CharPredicate |
SPACE_ANY_EOL |
static CharPredicate |
SPACE_EOL |
static CharPredicate |
SPACE_TAB |
static CharPredicate |
SPACE_TAB_EOL |
static CharPredicate |
SPACE_TAB_LINE_SEP |
static CharPredicate |
SPACE_TAB_NBSP |
static CharPredicate |
SPACE_TAB_NUL |
static CharPredicate |
SPACE_TAB_OR_NUL
Deprecated.
|
static CharPredicate |
TAB |
static CharPredicate |
TRUE
Deprecated.
|
static CharPredicate |
WHITESPACE |
static CharPredicate |
WHITESPACE_NBSP |
static CharPredicate |
WHITESPACE_OR_NUL |
| Modifier and Type | Method and Description |
|---|---|
default @NotNull CharPredicate |
and(@NotNull CharPredicate other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
static @NotNull CharPredicate |
anyOf(char... chars) |
static @NotNull CharPredicate |
anyOf(@NotNull CharSequence chars) |
static int |
indexOf(@NotNull CharSequence thizz,
char c) |
static int |
indexOf(@NotNull CharSequence thizz,
char c,
int fromIndex,
int endIndex) |
default @NotNull CharPredicate |
negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default @NotNull CharPredicate |
or(@NotNull CharPredicate other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
static @NotNull CharPredicate |
standardOrAnyOf(char c1) |
static @NotNull CharPredicate |
standardOrAnyOf(char c1,
char c2) |
static @NotNull CharPredicate |
standardOrAnyOf(char c1,
char c2,
char c3) |
static @NotNull CharPredicate |
standardOrAnyOf(char c1,
char c2,
char c3,
char c4) |
default boolean |
test(char value) |
boolean |
test(int value) |
and, orstatic final CharPredicate NONE
static final CharPredicate ALL
static final CharPredicate SPACE
static final CharPredicate TAB
static final CharPredicate EOL
static final CharPredicate ANY_EOL
static final CharPredicate ANY_EOL_NUL
static final CharPredicate BACKSLASH
static final CharPredicate SLASH
static final CharPredicate LINE_SEP
static final CharPredicate HASH
static final CharPredicate SPACE_TAB
static final CharPredicate SPACE_TAB_NUL
static final CharPredicate SPACE_TAB_LINE_SEP
static final CharPredicate SPACE_EOL
static final CharPredicate SPACE_ANY_EOL
static final CharPredicate SPACE_TAB_NBSP
static final CharPredicate SPACE_TAB_EOL
static final CharPredicate WHITESPACE
static final CharPredicate WHITESPACE_OR_NUL
static final CharPredicate WHITESPACE_NBSP
static final CharPredicate HEXADECIMAL_DIGITS
static final CharPredicate DECIMAL_DIGITS
static final CharPredicate OCTAL_DIGITS
static final CharPredicate BINARY_DIGITS
@Deprecated static final CharPredicate FALSE
@Deprecated static final CharPredicate TRUE
@Deprecated static final CharPredicate SPACE_TAB_OR_NUL
boolean test(int value)
test in interface IntPredicatedefault boolean test(char value)
@NotNull default @NotNull CharPredicate and(@NotNull @NotNull CharPredicate other)
false, then the other
predicate is not evaluated.
Any exceptions thrown during evaluation of either predicate are relayed
to the caller; if evaluation of this predicate throws an exception, the
other predicate will not be evaluated.
other - a predicate that will be logically-ANDed with this
predicateother predicateNullPointerException - if other is null@NotNull default @NotNull CharPredicate negate()
negate in interface IntPredicate@NotNull default @NotNull CharPredicate or(@NotNull @NotNull CharPredicate other)
true, then the other
predicate is not evaluated.
Any exceptions thrown during evaluation of either predicate are relayed
to the caller; if evaluation of this predicate throws an exception, the
other predicate will not be evaluated.
other - a predicate that will be logically-ORed with this
predicateother predicateNullPointerException - if other is null@NotNull static @NotNull CharPredicate standardOrAnyOf(char c1)
@NotNull static @NotNull CharPredicate standardOrAnyOf(char c1, char c2)
@NotNull static @NotNull CharPredicate standardOrAnyOf(char c1, char c2, char c3)
@NotNull static @NotNull CharPredicate standardOrAnyOf(char c1, char c2, char c3, char c4)
@NotNull static @NotNull CharPredicate anyOf(char... chars)
static int indexOf(@NotNull
@NotNull CharSequence thizz,
char c)
static int indexOf(@NotNull
@NotNull CharSequence thizz,
char c,
int fromIndex,
int endIndex)
@NotNull static @NotNull CharPredicate anyOf(@NotNull @NotNull CharSequence chars)
Copyright © 2020. All rights reserved.