Package com.google.common.base
Class CharMatcher.BitSetMatcher
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.BitSetMatcher
- Enclosing class:
CharMatcher
Fast matcher using a
BitSet table of matching characters.-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.base.CharMatcher
CharMatcher.FastMatcher, CharMatcher.NamedFastMatcher, CharMatcher.Whitespace -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.base.CharMatcher.NamedFastMatcher
toStringMethods inherited from class com.google.common.base.CharMatcher.FastMatcher
negate, precomputedMethods 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
-
-
Constructor Details
-
BitSetMatcher
-
-
Method Details
-
matches
public boolean matches(char c) Description copied from class:CharMatcherDetermines a true or false value for the given character.- Specified by:
matchesin classCharMatcher
-
setBits
Description copied from class:CharMatcherSets bits intablematched by this matcher.- Overrides:
setBitsin classCharMatcher
-