MCPcopy Create free account
hub / github.com/questdb/questdb / isDigit

Method isDigit

core/src/main/java/io/questdb/std/DecimalParser.java:300–302  ·  view source on GitHub ↗

Checks if a character is a decimal digit (0-9). @param c the character to check @return true if c is '0' through '9', false otherwise

(char c)

Source from the content-addressed store, hash-verified

298 * @return true if c is '0' through '9', false otherwise
299 */
300 private static boolean isDigit(char c) {
301 return '0' <= c && c <= '9';
302 }
303
304 /**
305 * Detects special floating-point values "NaN" and "Infinity" at the start of a CharSequence.

Callers 6

parseMethod · 0.95
normaliseMethod · 0.45
matchesOuterRefAliasMethod · 0.45
validateIdentifierMethod · 0.45
quoteMethod · 0.45
quoteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected