MCPcopy Create free account
hub / github.com/antlr/codebuff / digit

Method digit

corpus/java/training/guava/base/CharMatcher.java:121–123  ·  view source on GitHub ↗

Determines whether a character is a digit according to Unicode . If you only care to match ASCII digits, you can use inRange('0', '9'). @since 19.0 (since 1.0 as constant DIGIT)

()

Source from the content-addressed store, hash-verified

119 * @since 19.0 (since 1.0 as constant {@code DIGIT})
120 */
121 public static CharMatcher digit() {
122 return Digit.INSTANCE;
123 }
124
125 /**
126 * Determines whether a character is a digit according to {@linkplain Character#isDigit(char)

Callers 4

getSimpleNameMethod · 0.95
CharMatcherClass · 0.95
validatePartMethod · 0.95
ipStringToBytesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected