Package com.google.common.base
Class CharMatcher.Whitespace
java.lang.Object
com.google.common.base.CharMatcher
com.google.common.base.CharMatcher.FastMatcher
com.google.common.base.CharMatcher.NamedFastMatcher
com.google.common.base.CharMatcher.Whitespace
- Enclosing class:
CharMatcher
Implementation of
CharMatcher.whitespace()
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.base.CharMatcher
CharMatcher.FastMatcher, CharMatcher.NamedFastMatcher, CharMatcher.Whitespace
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final CharMatcher
(package private) static final int
(package private) static final int
(package private) static final String
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.base.CharMatcher.NamedFastMatcher
toString
Methods inherited from class com.google.common.base.CharMatcher.FastMatcher
negate, precomputed
Methods inherited from class com.google.common.base.CharMatcher
and, 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, whitespace
-
Field Details
-
TABLE
- See Also:
-
MULTIPLIER
static final int MULTIPLIER- See Also:
-
SHIFT
static final int SHIFT -
INSTANCE
-
-
Constructor Details
-
Whitespace
Whitespace()
-
-
Method Details
-
matches
public boolean matches(char c) Description copied from class:CharMatcher
Determines a true or false value for the given character.- Specified by:
matches
in classCharMatcher
-
setBits
Description copied from class:CharMatcher
Sets bits intable
matched by this matcher.- Overrides:
setBits
in classCharMatcher
-