static final class CharMatcher.Whitespace extends CharMatcher.NamedFastMatcher
CharMatcher.whitespace().CharMatcher.FastMatcher, CharMatcher.NamedFastMatcher, CharMatcher.NegatedFastMatcher, CharMatcher.Whitespace| Modifier and Type | Field and Description |
|---|---|
(package private) static CharMatcher.Whitespace |
INSTANCE |
(package private) static int |
MULTIPLIER |
(package private) static int |
SHIFT |
(package private) static java.lang.String |
TABLE |
ANY, ASCII, BREAKING_WHITESPACE, DIGIT, INVISIBLE, JAVA_DIGIT, JAVA_ISO_CONTROL, JAVA_LETTER, JAVA_LETTER_OR_DIGIT, JAVA_LOWER_CASE, JAVA_UPPER_CASE, NONE, SINGLE_WIDTH, WHITESPACE| Constructor and Description |
|---|
Whitespace() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(char c)
Determines a true or false value for the given character.
|
(package private) void |
setBits(java.util.BitSet table)
Sets bits in
table matched by this matcher. |
toStringnegate, precomputedand, any, anyOf, apply, ascii, breakingWhitespace, collapseFrom, countIn, digit, forPredicate, indexIn, indexIn, inRange, invisible, is, isNot, javaDigit, javaIsoControl, javaLetter, javaLetterOrDigit, javaLowerCase, javaUpperCase, lastIndexIn, matchesAllOf, matchesAnyOf, matchesNoneOf, none, noneOf, or, precomputedInternal, removeFrom, replaceFrom, replaceFrom, retainFrom, singleWidth, trimAndCollapseFrom, trimFrom, trimLeadingFrom, trimTrailingFrom, whitespacestatic final java.lang.String TABLE
static final int MULTIPLIER
static final int SHIFT
static final CharMatcher.Whitespace INSTANCE
public boolean matches(char c)
CharMatchermatches in class CharMatcher@GwtIncompatible void setBits(java.util.BitSet table)
CharMatchertable matched by this matcher.setBits in class CharMatcher