src/share/classes/java/lang/Float.java

Print this page

        

*** 439,448 **** --- 439,449 ---- * by the {@code valueOf} method of class {@code Float}. * * @param s the string to be parsed. * @return the {@code float} value represented by the string * argument. + * @throws NullPointerException if the string is null * @throws NumberFormatException if the string does not contain a * parsable {@code float}. * @see java.lang.Float#valueOf(String) * @since 1.2 */