public static int parseInt(java.lang.String s) throws java.lang.NumberFormatException {
  return parseInt(s,10);
}

public static int parseInt ( java . lang . String s ) throws java . lang . NumberFormatException { return parseInt ( s , 10 ) ; }
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 10 were given as arguments to the method .
