private static final class CharMatcher.BitSetMatcher extends CharMatcher.NamedFastMatcher
BitSet
table of matching characters.CharMatcher.FastMatcher, CharMatcher.NamedFastMatcher, CharMatcher.NegatedFastMatcher, CharMatcher.Whitespace
Modifier and Type | Field and Description |
---|---|
private java.util.BitSet |
table |
Modifier | Constructor and Description |
---|---|
private |
BitSetMatcher(java.util.BitSet table,
java.lang.String description) |
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 bitSet)
Sets bits in
table matched by this matcher. |
toString
negate, precomputed
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
private BitSetMatcher(java.util.BitSet table, java.lang.String description)
public boolean matches(char c)
CharMatcher
matches
in class CharMatcher
void setBits(java.util.BitSet bitSet)
CharMatcher
table
matched by this matcher.setBits
in class CharMatcher