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

Method letter

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

Checks if the specified character is a computer letter (A - Z, a - z, _). @param ch the character to be checked @return result of check

(final int ch)

Source from the content-addressed store, hash-verified

1249 * @return result of check
1250 */
1251 public static boolean letter(final int ch) {
1252 return ch >= 'A' && ch <= 'Z' || ch >= 'a' && ch <= 'z' || ch == '_';
1253 }
1254
1255 /**
1256 * Checks if the specified character is a digit (0 - 9).

Callers 5

isValidMethod · 0.95
letterOrDigitMethod · 0.95
setMnemonicMethod · 0.80
initMethod · 0.80
getHinshiMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected