MCPcopy Create free account
hub / github.com/davidgiven/luje / parseInt

Method parseInt

lib/java/lang/Integer.java:314–316  ·  view source on GitHub ↗

Parses the specified string as a signed decimal integer value. The ASCII character \u002d ('-') is recognized as the minus sign. @param string the string representation of an integer value. @return the primitive integer value represented by string. @throws NumberFormatException

(String string)

Source from the content-addressed store, hash-verified

312 * can not be parsed as an integer value.
313 */
314 public static int parseInt(String string) throws NumberFormatException {
315 return parseInt(string, 10);
316 }
317
318 /**
319 * Parses the specified string as a signed integer value using the specified

Callers 7

parseShortMethod · 0.95
parseByteMethod · 0.95
IntegerMethod · 0.95
valueOfMethod · 0.95
parseAuthorityMethod · 0.95
isValidIPv4AddressMethod · 0.95
isValidIP4WordMethod · 0.95

Calls 3

parseMethod · 0.95
lengthMethod · 0.65
charAtMethod · 0.65

Tested by

no test coverage detected