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

Method parseInt

vm/JavaAPI/src/java/lang/Integer.java:117–119  ·  view source on GitHub ↗

Parses the string argument as a signed decimal integer. The characters in the string must all be decimal digits, except that the first character may be an ASCII minus sign '-' (' u002d') to indicate a negative value. The resulting integer value is returned, exactly as if the argument and the radix 1

(java.lang.String s)

Source from the content-addressed store, hash-verified

115 * method.
116 */
117 public static int parseInt(java.lang.String s) throws java.lang.NumberFormatException{
118 return parseInt(s, 10);
119 }
120
121 /**
122 * Parses the string argument as a signed integer in the radix specified by the second argument. The characters in the string must all be digits of the specified radix (as determined by whether

Callers 15

calcPreferredSizeMethod · 0.95
asIntMethod · 0.95
colorMethod · 0.95
parseCellMethod · 0.95
parseNumberMethod · 0.95
parseIntMethod · 0.95
PushContentMethod · 0.95
JSObjectMethod · 0.95
parseMethod · 0.95
getIntMethod · 0.95

Calls 4

invalidIntMethod · 0.95
parseMethod · 0.95
lengthMethod · 0.65
charAtMethod · 0.65