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. |
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, whitespaceprivate BitSetMatcher(java.util.BitSet table,
java.lang.String description)
public boolean matches(char c)
CharMatchermatches in class CharMatchervoid setBits(java.util.BitSet bitSet)
CharMatchertable matched by this matcher.setBits in class CharMatcher