MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / decodeDigit

Method decodeDigit

vm/JavaAPI/src/java/lang/Character.java:1685–1693  ·  view source on GitHub ↗
(char c)

Source from the content-addressed store, hash-verified

1683 }
1684
1685 public static int decodeDigit(char c) {
1686 if (c < '"') {
1687 return c - ' ';
1688 } else if (c < '\\') {
1689 return c - ' ' - 1;
1690 } else {
1691 return c - ' ' - 2;
1692 }
1693 }
1694
1695
1696

Callers 2

decodeUnsignedMethod · 0.95
decodeUnsignedLongMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected