Package com.google.common.base
Class CharMatcher.Digit
- java.lang.Object
-
- com.google.common.base.CharMatcher
-
- com.google.common.base.CharMatcher.RangesMatcher
-
- com.google.common.base.CharMatcher.Digit
-
- All Implemented Interfaces:
Predicate<java.lang.Character>
,java.util.function.Predicate<java.lang.Character>
- Enclosing class:
- CharMatcher
private static final class CharMatcher.Digit extends CharMatcher.RangesMatcher
Implementation ofCharMatcher.digit()
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.base.CharMatcher
CharMatcher.FastMatcher, CharMatcher.NamedFastMatcher, CharMatcher.NegatedFastMatcher, CharMatcher.Whitespace
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static CharMatcher.Digit
INSTANCE
private static java.lang.String
ZEROES
-
Fields inherited from class com.google.common.base.CharMatcher
ANY, ASCII, BREAKING_WHITESPACE, DIGIT, INVISIBLE, JAVA_DIGIT, JAVA_ISO_CONTROL, JAVA_LETTER, JAVA_LETTER_OR_DIGIT, JAVA_LOWER_CASE, JAVA_UPPER_CASE, NONE, SINGLE_WIDTH, WHITESPACE
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Digit()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static char[]
nines()
private static char[]
zeroes()
-
Methods inherited from class com.google.common.base.CharMatcher.RangesMatcher
matches, toString
-
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, negate, none, noneOf, or, precomputed, precomputedInternal, removeFrom, replaceFrom, replaceFrom, retainFrom, setBits, singleWidth, trimAndCollapseFrom, trimFrom, trimLeadingFrom, trimTrailingFrom, whitespace
-
-
-
-
Field Detail
-
ZEROES
private static final java.lang.String ZEROES
- See Also:
- Constant Field Values
-
INSTANCE
static final CharMatcher.Digit INSTANCE
-
-