public static java.lang.Integer valueOf(java.lang.String s) throws java.lang.NumberFormatException {
  return new Integer(parseInt(s));
}

public static java . lang . Integer valueOf ( java . lang . String s ) throws java . lang . NumberFormatException { return new Integer ( parseInt ( s ) ) ; }
returns a new integer object initialized to the value of the specified string . the argument is interpreted as representing a signed decimal integer , exactly as if the argument were given to the method . the result is an integer object that represents the integer value specified by the string . in other words , this method returns an integer object equal to the value of : new integer ( integer . parseint ( s ) )
