MCPcopy Create free account
hub / github.com/BaseXdb/basex / digit

Method digit

basex-core/src/main/java/org/basex/util/Token.java:1260–1262  ·  view source on GitHub ↗

Checks if the specified character is a digit (0 - 9). @param ch the character to be checked @return result of check

(final int ch)

Source from the content-addressed store, hash-verified

1258 * @return result of check
1259 */
1260 public static boolean digit(final int ch) {
1261 return ch >= '0' && ch <= '9';
1262 }
1263
1264 /**
1265 * Checks if the specified character is a computer letter or digit.

Callers 10

finishMethod · 0.95
getColorMethod · 0.95
toDoubleMethod · 0.95
letterOrDigitMethod · 0.95
numberMethod · 0.45
getColorMethod · 0.45
getColorMethod · 0.45
isNCCharMethod · 0.45
initMethod · 0.45
getHinshiMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected