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

Method digit

output/java_guava/1.4.17/CharMatcher.java:132–134  ·  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

130
131
132 public static CharMatcher digit() {
133 return Digit.INSTANCE;
134 }
135
136 /**
137 * Determines whether a character is a digit according to {@linkplain Character#isDigit(char)

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected