private static final class CharMatcher.InRange extends CharMatcher.FastMatcher
CharMatcher.inRange(char, char)
.CharMatcher.FastMatcher, CharMatcher.NamedFastMatcher, CharMatcher.NegatedFastMatcher, CharMatcher.Whitespace
Modifier and Type | Field and Description |
---|---|
private char |
endInclusive |
private char |
startInclusive |
Constructor and Description |
---|
InRange(char startInclusive,
char endInclusive) |
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. |
java.lang.String |
toString()
Returns a string representation of this
CharMatcher , such as CharMatcher.or(WHITESPACE, JAVA_DIGIT) . |
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 final char startInclusive
private final char endInclusive
public boolean matches(char c)
CharMatcher
matches
in class CharMatcher
@GwtIncompatible void setBits(java.util.BitSet table)
CharMatcher
table
matched by this matcher.setBits
in class CharMatcher
public java.lang.String toString()
CharMatcher
CharMatcher
, such as CharMatcher.or(WHITESPACE, JAVA_DIGIT)
.toString
in class CharMatcher