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

Method parseLong

lib/java/lang/Long.java:306–308  ·  view source on GitHub ↗

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

(String string)

Source from the content-addressed store, hash-verified

304 * can not be parsed as a long value.
305 */
306 public static long parseLong(String string) throws NumberFormatException {
307 return parseLong(string, 10);
308 }
309
310 /**
311 * Parses the specified string as a signed long value using the specified

Callers 3

FileCanonPathCacheClass · 0.95
LongMethod · 0.95
valueOfMethod · 0.95

Calls 3

parseMethod · 0.95
lengthMethod · 0.65
charAtMethod · 0.65

Tested by

no test coverage detected